/* ==========================================================================
   小唛之家门户 · 设计系统
   色值取自吉祥物原图采样：主黄 #FAE806 / 轮廓棕 #653303 / 围巾绿 #84C607。
   组件词汇表见 README「前端组件」一节，内页只允许复用这些类。
   ========================================================================== */

:root {
    /* 品牌 · 麦金 */
    --wheat-50: #fffbf0;
    --wheat-100: #fdf3d7;
    --wheat-200: #fbe7ac;
    --wheat-300: #f9d878;
    --wheat-400: #f7c324;
    --wheat-500: #e0a800;
    --wheat-600: #b9860a;
    --wheat-700: #8d6507;

    /* 品牌 · 麦壳棕（用于深色区块与标题） */
    --bark-600: #8a5a1f;
    --bark-700: #653303;
    --bark-800: #472405;
    --bark-900: #2c1604;

    /* 品牌 · 叶绿（点缀，取自围巾） */
    --leaf-500: #7cb518;
    --leaf-600: #5f8f12;
    --leaf-50: #f3f9e6;

    /* 中性 · 暖调 */
    --ink: #241f17;
    --slate: #6b6357;
    --slate-light: #948c7f;
    --line: #ece5d8;
    --line-strong: #ddd3c1;
    --surface: #fcfaf5;
    --white: #ffffff;

    /* 语义 */
    --pending-bg: #fdf3d7;
    --pending-fg: #8d6507;

    /* 排版 */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans SC",
        "Noto Sans CJK SC", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "PingFang SC", "Microsoft YaHei UI", "Source Han Serif SC",
        "Songti SC", "SimSun", var(--font-sans);

    /* 尺度 */
    --max-width: 1160px;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(44, 22, 4, .06), 0 1px 3px rgba(44, 22, 4, .05);
    --shadow: 0 4px 12px rgba(44, 22, 4, .06), 0 12px 28px rgba(44, 22, 4, .06);
    --shadow-lg: 0 10px 24px rgba(44, 22, 4, .08), 0 28px 60px rgba(44, 22, 4, .10);
    --header-h: 72px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   基础
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.75;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -.01em;
    color: var(--bark-900);
}

h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.15rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
    color: inherit;
    text-decoration: none;
    transition: color .18s var(--ease);
}

img, svg { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
    outline: 3px solid var(--wheat-400);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 24px;
}

.container--narrow { max-width: 820px; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    padding: 12px 20px;
    background: var(--bark-900);
    color: var(--white);
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   区块骨架
   -------------------------------------------------------------------------- */

.section {
    padding-block: clamp(64px, 9vw, 108px);
}

.section--tight { padding-block: clamp(44px, 6vw, 68px); }

.section--surface { background: var(--surface); }

.section--cream { background: var(--wheat-50); }

.section--white { background: var(--white); }

.section--bark {
    background: linear-gradient(160deg, var(--bark-800), var(--bark-900));
    color: rgba(255, 255, 255, .82);
}
.section--bark h2, .section--bark h3 { color: var(--white); }

.section--brand {
    background: linear-gradient(150deg, var(--wheat-100), var(--wheat-50) 65%);
}

.section__head {
    max-width: 680px;
    margin-bottom: clamp(32px, 4vw, 52px);
}
.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 5px 13px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    color: var(--wheat-700);
    background: var(--wheat-100);
    border: 1px solid var(--wheat-200);
    border-radius: var(--radius-pill);
}
.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--wheat-500);
    border-radius: 50%;
}
.section--bark .eyebrow {
    color: var(--wheat-300);
    background: rgba(247, 195, 36, .1);
    border-color: rgba(247, 195, 36, .25);
}

.section__title { margin-bottom: 14px; }

.section__desc {
    margin: 0;
    font-size: 1.05rem;
    color: var(--slate);
}
.section--bark .section__desc { color: rgba(255, 255, 255, .72); }

/* --------------------------------------------------------------------------
   按钮
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font: inherit;
    font-weight: 600;
    line-height: 1.4;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    white-space: nowrap;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease),
        background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
    background: linear-gradient(180deg, var(--wheat-400), var(--wheat-500));
    color: var(--bark-800);
    box-shadow: 0 2px 0 var(--wheat-600), 0 8px 20px rgba(224, 168, 0, .28);
}
.btn--primary:hover {
    background: linear-gradient(180deg, var(--wheat-300), var(--wheat-400));
    box-shadow: 0 2px 0 var(--wheat-600), 0 10px 26px rgba(224, 168, 0, .36);
    transform: translateY(-1px);
}

.btn--dark {
    background: var(--bark-800);
    color: var(--white);
}
.btn--dark:hover { background: var(--bark-900); transform: translateY(-1px); }

.btn--ghost {
    border-color: var(--line-strong);
    color: var(--bark-800);
    background: var(--white);
}
.btn--ghost:hover {
    border-color: var(--wheat-400);
    background: var(--wheat-50);
    color: var(--wheat-700);
}

.btn--light {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .3);
    color: var(--white);
}
.btn--light:hover { background: rgba(255, 255, 255, .2); }

.btn--lg { padding: 15px 34px; font-size: 1.05rem; }
.btn--sm { padding: 8px 18px; font-size: .9rem; }

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* --------------------------------------------------------------------------
   栅格与卡片
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
    position: relative;
    padding: 30px 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--wheat-200);
}

.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: var(--shadow-sm); }

.card--tint {
    background: var(--white);
    border-color: var(--wheat-200);
}

.card__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    font-size: 1.5rem;
    color: var(--wheat-700);
    background: linear-gradient(150deg, var(--wheat-100), var(--wheat-50));
    border: 1px solid var(--wheat-200);
    border-radius: 15px;
}
.card__icon--leaf {
    color: var(--leaf-600);
    background: var(--leaf-50);
    border-color: #dcedbc;
}
.card__icon--bark {
    color: var(--bark-700);
    background: #f6efe6;
    border-color: #e6d9c8;
}

.card__title { margin-bottom: 10px; }
.card__text { margin: 0; color: var(--slate); font-size: .96rem; }

.card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 600;
    font-size: .94rem;
    color: var(--wheat-700);
}
.card__link::after {
    content: "→";
    transition: transform .18s var(--ease);
}
.card__link:hover { color: var(--bark-700); }
.card__link:hover::after { transform: translateX(4px); }

a.card { display: block; }
a.card:hover { border-color: var(--wheat-300); }

/* 列表项卡片：标题 + 描述，用于服务承诺这类紧凑条目 */
.item-list { display: grid; gap: 14px; }
.item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}
.item__mark {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--leaf-600);
    background: var(--leaf-50);
    border-radius: 50%;
}
/* 否定条目（"我们不做的事"）与提醒条目（异常处理）不能用通过语义的绿色 */
.item__mark--deny {
    color: var(--bark-600);
    background: #f6efe6;
}
.item__mark--warn {
    color: var(--wheat-700);
    background: var(--wheat-100);
}
.item__title { margin: 0 0 4px; font-size: 1rem; font-weight: 600; }
.item__text { margin: 0; font-size: .93rem; color: var(--slate); }

/* --------------------------------------------------------------------------
   步骤 / 时间线 / 数据
   -------------------------------------------------------------------------- */

.steps {
    display: grid;
    /* 步数不固定，交给 auto-fit 平分，避免第五步孤零零掉在第二行 */
    grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
    gap: 20px;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 26px 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.step__index {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--white);
    background: var(--bark-700);
    border-radius: 50%;
}
.step__title { margin-bottom: 8px; font-size: 1.05rem; }
.step__text { margin: 0; font-size: .93rem; color: var(--slate); }

.timeline {
    position: relative;
    padding-left: 34px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--wheat-300), var(--line-strong));
}
.timeline__item { position: relative; padding-bottom: 30px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 9px;
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 3px solid var(--wheat-400);
    border-radius: 50%;
}
.timeline__title { margin-bottom: 6px; font-size: 1.06rem; }
.timeline__text { margin: 0; color: var(--slate); font-size: .95rem; }

/* 错误页的大号状态码 */
.error__code {
    margin: 0 0 10px;
    font-size: clamp(3.4rem, 2.2rem + 5vw, 5.6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--wheat-400);
    text-shadow: 0 2px 0 rgba(101, 51, 3, .12);
}

/* --------------------------------------------------------------------------
   图文对照
   -------------------------------------------------------------------------- */

.feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.feature--reverse .feature__media { order: 2; }
.feature--reverse .feature__body { order: 1; }

.feature__body > * + * { margin-top: 18px; }

/* 同一 section 内相邻内容块之间的稳定节奏，模板里就不必再写内联 margin */
.feature + .feature { margin-top: clamp(48px, 6vw, 80px); }
.grid + .spec-list,
.steps + .feature,
.steps + .grid,
.spec-list + p { margin-top: clamp(28px, 3.5vw, 44px); }

.feature__media {
    display: grid;
    place-items: center;
    padding: clamp(24px, 4vw, 48px);
    background:
        radial-gradient(circle at 50% 42%, var(--wheat-100), transparent 68%),
        var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.feature__media img { max-height: 340px; width: auto; }

/* 特性清单 */
.ticks { display: grid; gap: 12px; margin: 0; padding: 0; }
.ticks li {
    position: relative;
    padding-left: 30px;
    font-size: .97rem;
    color: var(--slate);
}
.ticks li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: .58em;
    width: 11px;
    height: 6px;
    border-left: 2px solid var(--leaf-600);
    border-bottom: 2px solid var(--leaf-600);
    transform: rotate(-45deg);
}

/* 规格表 */
.spec-list { border-top: 1px solid var(--line); }
.spec-list__row {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
}
.spec-list__term { font-weight: 600; color: var(--bark-800); }
.spec-list__desc { color: var(--slate); font-size: .96rem; }

/* 引用 */
.pullquote {
    margin: 0;
    padding: 34px 38px;
    background: var(--white);
    border: 1px solid var(--wheat-200);
    border-left: 4px solid var(--wheat-400);
    border-radius: var(--radius);
}
.pullquote p {
    margin: 0 0 12px;
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--bark-800);
}
.pullquote footer { font-size: .9rem; color: var(--slate-light); }

/* --------------------------------------------------------------------------
   徽标 / 占位
   -------------------------------------------------------------------------- */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: .82rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    background: var(--wheat-100);
    color: var(--wheat-700);
    border: 1px solid var(--wheat-200);
}
.badge--leaf { background: var(--leaf-50); color: var(--leaf-600); border-color: #dcedbc; }
.badge--muted { background: var(--surface); color: var(--slate); border-color: var(--line); }

/* 待补充信息槽位：配置为空时显示，填入真实值后自动消失 */
.slot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 11px;
    font-size: .84rem;
    font-weight: 500;
    color: var(--pending-fg);
    background: repeating-linear-gradient(135deg, var(--pending-bg) 0 8px, #fdf7e6 8px 16px);
    border: 1px dashed var(--wheat-300);
    border-radius: var(--radius-sm);
}
.slot::before { content: ""; width: 6px; height: 6px; background: var(--wheat-500); border-radius: 50%; }

/* --------------------------------------------------------------------------
   下单指引
   小程序没有可点击的网页链接，只能引导用户到微信内搜索，因此做成提示条
   而不是按钮——放个假按钮反而误导。
   -------------------------------------------------------------------------- */

.order-hint {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
    margin: 0;
    padding: 13px 20px;
    font-size: .95rem;
    color: var(--slate);
    background: var(--white);
    border: 1px solid var(--wheat-200);
    border-left: 3px solid var(--wheat-400);
    border-radius: var(--radius-sm);
}
.order-hint__label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--wheat-700);
}
.order-hint__text strong {
    font-weight: 700;
    color: var(--bark-800);
}
.cta-band .order-hint {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(247, 195, 36, .3);
    color: rgba(255, 255, 255, .78);
}
.cta-band .order-hint__label { color: var(--wheat-300); }
.cta-band .order-hint__text strong { color: var(--white); }
.hero__order { margin-top: 26px; max-width: 36em; }
.cta-band__text + .order-hint { margin-top: 18px; }

/* --------------------------------------------------------------------------
   页头
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
    box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(44, 22, 4, .06);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}
.brand__mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    box-shadow: var(--shadow-sm);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 1.16rem; font-weight: 800; letter-spacing: .01em; color: var(--bark-800); }
.brand__en {
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .18em;
    color: var(--slate-light);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
    position: relative;
    display: block;
    padding: 9px 15px;
    font-size: .95rem;
    font-weight: 500;
    color: var(--slate);
    border-radius: var(--radius-pill);
    transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav__link:hover { color: var(--bark-800); background: var(--wheat-50); }
.nav__link--active { color: var(--bark-800); font-weight: 700; background: var(--wheat-100); }
.nav__link--active:hover { background: var(--wheat-200); }

.nav__cta { margin-left: 10px; }

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 11px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px auto;
    background: var(--bark-800);
    border-radius: 2px;
    transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 112px);
    background:
        radial-gradient(900px 480px at 82% 8%, rgba(247, 195, 36, .16), transparent 62%),
        radial-gradient(700px 420px at 8% 92%, rgba(124, 181, 24, .1), transparent 58%),
        linear-gradient(180deg, var(--wheat-50), var(--white) 78%);
}
.hero::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--wheat-200) 30%, var(--wheat-200) 70%, transparent);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(32px, 5vw, 68px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__title { margin-bottom: 20px; }
.hero__title em,
.section__title em,
.page-hero__title em,
.feature__body h2 em {
    /* 中文里 <em> 默认斜体既难看又读不通，统一改成麦色下划高亮 */
    font-style: normal;
    color: var(--wheat-700);
    background: linear-gradient(transparent 68%, var(--wheat-200) 68%);
    padding: 0 2px;
}
.hero__lede {
    max-width: 34em;
    margin-bottom: 30px;
    font-size: clamp(1rem, .95rem + .3vw, 1.14rem);
    color: var(--slate);
}

.hero__media { position: relative; display: grid; place-items: center; }
.hero__media img {
    position: relative;
    z-index: 1;
    max-height: 420px;
    width: auto;
    filter: drop-shadow(0 24px 40px rgba(101, 51, 3, .16));
}
.hero__media::before {
    content: "";
    position: absolute;
    width: min(360px, 78%);
    aspect-ratio: 1;
    background: radial-gradient(circle, var(--wheat-200), transparent 68%);
    border-radius: 50%;
}

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}
.hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    font-size: .87rem;
    font-weight: 500;
    color: var(--bark-700);
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--wheat-200);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
}

/* 内页顶部横幅 */
.page-hero {
    padding-block: clamp(48px, 6vw, 76px) clamp(40px, 5vw, 60px);
    text-align: center;
    background:
        radial-gradient(680px 320px at 50% -10%, rgba(247, 195, 36, .18), transparent 66%),
        linear-gradient(180deg, var(--wheat-50), var(--white));
    border-bottom: 1px solid var(--line);
}
.page-hero__title { margin-bottom: 14px; }
.page-hero__desc {
    max-width: 640px;
    margin: 0 auto;
    color: var(--slate);
    font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   CTA 条
   -------------------------------------------------------------------------- */

.cta-band {
    position: relative;
    overflow: hidden;
    padding: clamp(38px, 5vw, 58px) clamp(28px, 4vw, 56px);
    background: linear-gradient(135deg, var(--bark-700), var(--bark-900));
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, .8);
}
.cta-band::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(247, 195, 36, .28), transparent 68%);
    border-radius: 50%;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}
.cta-band__title { margin-bottom: 8px; color: var(--white); }
.cta-band__text { margin: 0; max-width: 46em; font-size: .99rem; }

/* --------------------------------------------------------------------------
   联系方式卡
   -------------------------------------------------------------------------- */

.contact-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.contact-card {
    display: flex;
    gap: 18px;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.contact-card__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    background: var(--wheat-100);
    border: 1px solid var(--wheat-200);
    border-radius: 13px;
}
.contact-card__label {
    margin: 0 0 6px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .05em;
    color: var(--slate-light);
}
.contact-card__value {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--bark-800);
    word-break: break-word;
}
.contact-card__value a:hover { color: var(--wheat-600); }
.contact-card__note { margin: 6px 0 0; font-size: .88rem; color: var(--slate); }

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */

.site-footer {
    padding-top: clamp(52px, 6vw, 76px);
    background: var(--bark-900);
    color: rgba(255, 255, 255, .62);
    font-size: .93rem;
}
.site-footer h3 {
    margin-bottom: 16px;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--wheat-300);
}
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: var(--wheat-300); }

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
    gap: 40px 32px;
    padding-bottom: 44px;
}

.footer__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer__brand img { width: 40px; height: 40px; border-radius: 11px; }
.footer__brand span { font-size: 1.18rem; font-weight: 800; color: var(--white); }

.footer__about { max-width: 34em; margin: 0; line-height: 1.85; }
.footer__tagline { margin: 14px 0 0; }

.footer__list li + li { margin-top: 10px; }

.footer__contact li {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 10px;
    align-items: baseline;
    margin-bottom: 10px;
}
.footer__contact dt,
.footer__contact .footer__contact-term {
    font-size: .82rem;
    color: rgba(255, 255, 255, .45);
}

.footer__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 28px;
    padding-block: 24px 28px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* 备案区：按访问域名渲染，未配置的项整行隐藏 */
.filing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 22px;
    font-size: .86rem;
    color: rgba(255, 255, 255, .55);
}
.filing__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.filing__item a {
    color: rgba(255, 255, 255, .68);
    border-bottom: 1px solid transparent;
}
.filing__item a:hover { color: var(--wheat-300); border-bottom-color: var(--wheat-300); }
.filing__label { color: rgba(255, 255, 255, .42); }
.filing__divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, .16);
}
.filing__domain { color: var(--wheat-300); font-weight: 600; }

.footer__copyright {
    font-size: .84rem;
    color: rgba(255, 255, 255, .4);
}

/* --------------------------------------------------------------------------
   动效
   入场动画的隐藏态挂在 .js 上：脚本没跑起来时内容必须完整可见，
   否则禁用 JS 的访客会看到一片空白。
   -------------------------------------------------------------------------- */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */

@media (max-width: 1040px) {
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
   
    .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__lede { margin-inline: auto; }
    .hero__actions, .btn-group { justify-content: center; }
    .hero__chips { justify-content: center; }
    .hero__media { order: -1; }
    .hero__media img { max-height: 300px; }
    .feature { grid-template-columns: 1fr; }
    .feature--reverse .feature__media { order: -1; }
    .feature--reverse .feature__body { order: 0; }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    :root { --header-h: 64px; }

    /* 没有 JS 时不做抽屉：导航直接换行摊在页头下方，保证还能跳转 */
    .site-header { height: auto; }
    .site-header__inner {
        flex-wrap: wrap;
        height: auto;
        padding-block: 10px;
        gap: 8px 24px;
    }
    .nav__list { flex-wrap: wrap; }
    .nav__link { padding: 8px 12px; font-size: .92rem; }

    .js .nav-toggle { display: block; }

    .js .site-header { height: var(--header-h); }
    .js .site-header__inner {
        flex-wrap: nowrap;
        height: var(--header-h);
        padding-block: 0;
    }
    .js .nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        padding: 16px 24px 28px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: transform .24s var(--ease), opacity .24s var(--ease), visibility .24s;
    }
    .js .nav.is-open {
        transform: none;
        opacity: 1;
        visibility: visible;
    }
    .js .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
    .js .nav__link { padding: 14px 16px; font-size: 1.02rem; border-radius: var(--radius-sm); }
    .js .nav__cta { margin: 16px 0 0; width: 100%; }

    .js body.nav-locked { overflow: hidden; }
}

@media (max-width: 640px) {
    .container { padding-inline: 18px; }
    .grid--2, .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }
    .spec-list__row { grid-template-columns: 1fr; gap: 6px; }
    .footer__grid { grid-template-columns: 1fr; gap: 34px; }
    .pullquote { padding: 26px 22px; }
    .card { padding: 24px 22px; }
    .btn { width: auto; }
    .btn-group { gap: 10px; }
    .btn-group .btn { flex: 1 1 auto; }
}

@media print {
    .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
    body { color: #000; }
}
