:root {
  --blue: #004b9f;
  --deep: #003a7a;
  --ink: #0a2b57;
  --ice: #059fdf;
  --pale: #cfe0f3;
  --wash: #f4f8fd;
  --gold: #c8a96a;
  --paper: #ffffff;
  --fog: #f7f8fa;
  --line: #e5e5ea;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --up: #c9403a;
  --down: #2e9e6b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  --section-y: clamp(40px, 4vw, 56px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --head-blue-glass: rgba(0, 75, 159, 0.86);
  --head-blue-scrolled: rgba(0, 75, 159, 0.94);
}

* { box-sizing: border-box; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  background: var(--blue);
  color: #fff;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
section[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-break: strict;
  word-break: auto-phrase;
  text-wrap: pretty;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--deep); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: 48px; line-height: 1.14; }
h2 { font-size: 32px; line-height: 1.25; }
h3 { font-size: 21px; line-height: 1.35; }
h4 { font-size: 17px; line-height: 1.4; }
p { margin: 0; }

.wrap { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.nb { white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--deep); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--wash); color: var(--blue); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- header ---------- */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  background: var(--head-blue-glass);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background .25s, box-shadow .25s;
}
.head-inner { display: flex; align-items: center; gap: 32px; width: min(1240px, calc(100% - 48px)); }
.brand {
  display: flex; align-items: center; flex: 0 0 auto; min-height: 44px;
}
.brand .logo { height: 30px; width: auto; }
.brand .logo-dark { display: none; }
.brand .logo-white { display: block; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a {
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a:hover, .nav a.active { color: #fff; border-color: #fff; }
.nav-dropdown {
  position: relative;
}
.nav-dropdown__row {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-dropdown__link {
  padding: 6px 0;
}
.nav-dropdown__toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .86);
  cursor: pointer;
}
.nav-dropdown:hover .nav-dropdown__link,
.nav-dropdown__link:focus-visible,
.nav-dropdown.is-open .nav-dropdown__link,
.nav-dropdown__toggle:hover,
.nav-dropdown__toggle:focus-visible,
.nav-dropdown.is-open .nav-dropdown__toggle {
  color: #fff;
}
.nav-dropdown:hover .nav-dropdown__link,
.nav-dropdown__link:focus-visible,
.nav-dropdown.is-open .nav-dropdown__link {
  border-color: #fff;
}
.nav-dropdown__chevron {
  display: block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s;
}
.nav-dropdown.is-open .nav-dropdown__chevron { transform: translateY(1px) rotate(225deg); }
.nav-dropdown.is-open::after {
  content: "";
  position: absolute;
  inset: 100% 0 auto;
  height: 22px;
}
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 22px);
  left: 50%;
  z-index: 2;
  width: 224px;
  padding: 8px;
  border: 1px solid rgba(0, 75, 159, .14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(6, 36, 72, .2);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  pointer-events: none;
  transition: opacity .18s, visibility .18s, transform .18s;
}
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.nav .nav-dropdown__menu a {
  display: grid;
  gap: 2px;
  justify-items: center;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  color: #173c63;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
}
.nav .nav-dropdown__menu a:hover,
.nav .nav-dropdown__menu a:focus-visible {
  color: var(--blue);
  background: #eef6ff;
}
.nav-dropdown__menu b { color: #173c63; font-size: 13px; font-weight: 750; }
.nav-dropdown__menu span { color: #6d8297; font-size: 10.5px; font-weight: 500; }
.head-cta { display: flex; align-items: center; gap: 14px; }
.head-cta .btn-primary { background: #fff; color: var(--ink); }
.head-cta .btn-primary:hover { background: var(--pale); color: var(--ink); }

.site-head.solid { background: var(--head-blue-glass); }
.site-head.scrolled { background: var(--head-blue-scrolled); box-shadow: 0 6px 24px rgba(0, 75, 159, .20); }
.site-head.solid .nav a { color: rgba(255, 255, 255, .86); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 6px;
  background: transparent;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 18px; height: 2px; background: #fff; content: "";
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -6px; left: 0; }
.nav-toggle span::after { top: 6px; left: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 132px 0 0;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(4, 24, 52, .95) 0%, rgba(4, 36, 78, .84) 44%, rgba(4, 36, 78, .42) 100%),
    url("../img/hero-coldstore.webp") center / cover no-repeat;
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .12);
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { max-width: 720px; font-size: clamp(38px, 4vw, 56px); line-height: 1.1; letter-spacing: -0.03em; }
.hero .lead { max-width: 620px; margin-top: 18px; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.68); }

.hero-board {
  background: #fff; color: var(--text);
  border-radius: 18px; padding: 20px 22px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}
.hb-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--muted); padding-bottom: 12px; }
.hb-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.hb-row i { font-style: normal; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hb-row b { display: block; font-size: 15px; font-weight: 600; }
.hb-row span { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.hb-row .heat { width: 64px; }
.hb-foot { display: block; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13.5px; color: var(--blue); }

.stat-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin-top: 40px; padding-bottom: 24px; border-top: 1px solid rgba(255,255,255,.18);
}
.stat { padding: 20px 20px 0 0; }
.stat b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.62); }

/* ---------- page hero ---------- */
.page-hero {
  padding: 116px 0 52px;
  background:
    linear-gradient(100deg, rgba(4, 24, 52, .95), rgba(4, 36, 78, .82) 62%, rgba(4, 36, 78, .52));
  color: #fff;
}
.page-hero h1 { font-size: 38px; }
.page-hero p { margin-top: 12px; max-width: 680px; color: rgba(255,255,255,.75); font-size: 16.5px; line-height: 1.65; }
.crumb { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 12px; }
.crumb a { color: rgba(255,255,255,.78); }
.page-hero--products {
  background:
    linear-gradient(100deg, rgba(4, 24, 52, .95), rgba(4, 36, 78, .82) 62%, rgba(4, 36, 78, .52)),
    url("../img/hero-products.webp") center 42% / cover no-repeat;
}
.page-hero--daily {
  background:
    linear-gradient(100deg, rgba(4, 24, 52, .95), rgba(4, 36, 78, .82) 62%, rgba(4, 36, 78, .52)),
    url("../img/hero-daily.webp") center 42% / cover no-repeat;
}
.page-hero--canteen {
  background:
    linear-gradient(100deg, rgba(4, 24, 52, .95), rgba(4, 36, 78, .82) 62%, rgba(4, 36, 78, .52)),
    url("../img/hero-canteen.jpg") center 42% / cover no-repeat;
}
.page-hero--tools {
  background:
    linear-gradient(100deg, rgba(4, 24, 52, .95), rgba(4, 36, 78, .82) 62%, rgba(4, 36, 78, .52)),
    url("../img/hero-tools.webp") center 42% / cover no-repeat;
}
.page-hero--contact {
  background:
    linear-gradient(100deg, rgba(4, 24, 52, .95), rgba(4, 36, 78, .82) 62%, rgba(4, 36, 78, .52)),
    url("../img/hero-contact.webp") center 42% / cover no-repeat;
}

/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; }
.section.alt { background: var(--fog); }
.section.tint { background: var(--wash); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 26px; }
.sec-head .kicker {
  display: inline-flex; align-items: center;
  font-size: 12.5px; font-weight: 500; letter-spacing: .02em;
  color: #fff; background: var(--blue);
  padding: 4px 11px; border-radius: 6px; margin-bottom: 10px;
}
.sec-head p { max-width: 620px; margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.sec-head .more { font-size: 14px; white-space: nowrap; }

/* ---------- category ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0a2b57; border: 1px solid var(--line); border-radius: var(--radius);
  isolation: isolate;
  transition: border-color .2s, box-shadow .2s;
}
.cat-card:hover { border-color: var(--pale); box-shadow: var(--shadow); }
.cat-thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--wash); }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: filter .35s ease; }
.cat-card:hover .cat-thumb img { filter: brightness(1.04) saturate(1.03); }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 20, 44, 0) 42%, rgba(0, 20, 44, .86) 100%);
  pointer-events: none;
}
.cat-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 14px 13px;
}
.cat-card b { font-size: 15.5px; font-weight: 600; color: #fff; line-height: 1.25; }
.cat-card .cat-body span { font-size: 11.5px; color: rgba(255, 255, 255, .76); line-height: 1.35; }

/* ---------- product ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.prod-card {
  display: flex; flex-direction: row;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .2s, border-color .2s;
}
.prod-card:hover { box-shadow: var(--shadow); border-color: var(--pale); }
.prod-media {
  flex: 0 0 120px;
  position: relative; overflow: hidden;
  background: var(--wash);
}
.prod-media img { width: 100%; height: 100%; object-fit: cover; }
.prod-media .tag {
  position: absolute; top: 10px; left: 10px;
  z-index: 1;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: var(--blue);
  font-size: 11.5px; font-weight: 600;
}
.prod-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.prod-body h4 { font-size: 16px; }
.prod-spec { font-size: 13px; color: var(--muted); }
.prod-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 6px; }
.price { display: flex; align-items: baseline; gap: 4px; color: var(--blue); }
.price b { font-size: 25px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price small { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.prod-foot .link { font-size: 13.5px; white-space: nowrap; }
.mask-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* 首页主推：四列竖版，先把菜看出来 */
.prod-grid.compact { grid-template-columns: repeat(4, 1fr); }
.prod-grid.compact .prod-card { flex-direction: column; }
.prod-grid.compact .prod-media { flex: 0 0 auto; aspect-ratio: 16 / 10; }
.prod-grid.compact .prod-body { padding: 14px 16px 16px; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table-wrap:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
.table-hint { display: none; margin: -6px 0 8px; color: var(--muted); font-size: 12.5px; }
.market-hint { display: block; margin: -6px 0 8px; color: var(--muted); font-size: 12.5px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; border-bottom-color: rgba(255, 255, 255, .18); }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fbfdff; }
.num { font-variant-numeric: tabular-nums; }
.up { color: var(--up); }
.down { color: var(--down); }
.heat { display: inline-block; width: 64px; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; vertical-align: middle; }
.heat i { display: block; height: 100%; background: linear-gradient(90deg, var(--ice), var(--blue)); }

/* ---------- news / report ---------- */
.report-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  padding: 18px 22px; background: #fff; border: 1px solid var(--line);
  border-left: 3px solid var(--blue); border-radius: var(--radius); margin-bottom: 22px;
}
.report-head b { font-size: 19px; }
.report-head .meta { font-size: 13px; color: var(--muted); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--wash); color: var(--blue); font-size: 12px; font-weight: 500; }
.badge.gold { background: rgba(200,169,106,.14); color: #7a5f28; }

.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.summary-card { padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.summary-card b { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.summary-card span { font-size: 13px; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.panel h3 { margin-bottom: 10px; }
.panel p { color: var(--muted); font-size: 14.5px; }
.panel ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.panel li { margin: 5px 0; }

/* ---------- module figures ---------- */
.module-figure {
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--wash);
}
.module-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.module-figure a { display: block; }
.module-figure--square img { aspect-ratio: 1 / 1; }
.module-figure--editorial {
  width: min(100%, 720px);
  margin-right: auto;
  margin-left: auto;
}
.module-figure--square {
  width: min(100%, 480px);
  margin-right: auto;
  margin-left: auto;
}
.module-figure figcaption {
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* ---------- editorial media + reading notes ---------- */
.media-feature {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(300px, 2fr);
  align-items: stretch;
  margin: 0 0 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.media-feature > .module-figure {
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.media-feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(22px, 2.5vw, 32px);
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f6faff 100%);
}
.media-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--wash);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}
.media-feature__copy h3 { margin: 10px 0 8px; font-size: 22px; line-height: 1.35; }
.media-feature__copy > p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.feature-facts { margin: 16px 0 0; padding: 0; }
.feature-facts > div {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.feature-facts dt { color: var(--ink); font-size: 13px; font-weight: 600; }
.feature-facts dd { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
}
.media-feature--square { grid-template-columns: minmax(320px, 480px) minmax(0, 1fr); }
.media-feature--square > .module-figure img { aspect-ratio: 1 / 1; }
.media-feature .bundle-grid--embedded { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.bundle-grid--embedded .bundle { padding: 13px 14px; }
.bundle-grid--embedded .bundle b { font-size: 14px; }
.bundle-grid--embedded .bundle span { font-size: 12.5px; text-wrap: balance; }

/* ---------- tool ---------- */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.tool-card h3 { margin-bottom: 4px; }
.tool-card .hint { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.check-list { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; }
.field input, .field select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 15px; color: var(--text); background: #fff;
}
.field input:focus, .field select:focus { outline: 2px solid var(--pale); border-color: var(--blue); }
.field input[aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180, 35, 24, .1); }
.tool-actions { display: flex; gap: 10px; margin-top: 16px; }
.result { margin-top: 16px; padding: 16px 18px; border-radius: var(--radius); background: var(--wash); border: 1px solid var(--pale); }
.result .row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; }
.result .row b { font-variant-numeric: tabular-nums; }
.result .big { color: var(--blue); font-size: 21px; font-weight: 600; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.step { padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps.list { grid-template-columns: 1fr; gap: 8px; }
.steps.list .step { padding: 12px 16px; }
.steps.list .step b { margin-bottom: 2px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; color: var(--muted); font-size: 12px; letter-spacing: .06em; margin-bottom: 8px;
}
.step .state {
  position: absolute; top: 16px; right: 16px;
  padding: 2px 8px; border-radius: 999px;
  background: var(--wash); color: var(--blue);
  font-size: 11px; font-style: normal; font-weight: 500;
}
.step .state.wait { background: #f3f4f6; color: var(--muted); }
.step b { display: block; margin-bottom: 4px; font-weight: 600; }
.step span { font-size: 13px; color: var(--muted); }
.step.has-media { padding: 0; overflow: hidden; }
.step.has-media::before {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  margin: 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
}
.step.has-media figure { margin: 0; }
.step.has-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.step.has-media > b { padding: 16px 20px 0; }
.step.has-media > span { display: block; padding: 0 20px 18px; }
.org-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.org-tags span {
  padding: 3px 9px; border-radius: 999px;
  background: var(--wash); color: var(--ink);
  font-size: 11.5px; line-height: 1.5;
}

/* ---------- client routes ---------- */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.client-card {
  display: flex; flex-direction: column;
  padding: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.client-card:hover { border-color: var(--pale); box-shadow: var(--shadow); }
.client-tag {
  display: inline-flex; align-self: flex-start;
  padding: 4px 10px; border-radius: 999px;
  background: var(--wash); color: var(--blue);
  font-size: 12px; font-weight: 600;
}
.client-card b { margin-top: 14px; font-size: 20px; letter-spacing: -.02em; }
.client-card p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.client-card ul { margin: 12px 0 18px; padding-left: 18px; color: var(--muted); font-size: 13.5px; }
.client-card li { margin: 4px 0; }
.client-link { margin-top: auto; color: var(--blue); font-size: 14px; font-weight: 500; }

/* ---------- promises ---------- */
.promise-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.promise { padding: 18px 20px; border-left: 1px solid var(--line); }
.promise:first-child { border-left: 0; }
.promise b { display: block; font-size: 15px; }
.promise span { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; line-height: 1.55; }

/* ---------- brands ---------- */
.brand-wall {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px; overflow: hidden;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
}
.brand-item { display: flex; align-items: center; justify-content: center; height: 92px; padding: 16px 22px; background: #fff; }
.brand-item img {
  max-width: 100%; max-height: 42px; width: auto;
  object-fit: contain;
  filter: grayscale(1); opacity: .72;
  transition: filter .2s, opacity .2s;
}
.brand-item:hover img { filter: grayscale(0); opacity: 1; }
.brand-note { margin-top: 14px; color: var(--muted); font-size: 12px; }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding: 18px 2px; cursor: pointer;
  font-size: 16px; font-weight: 600; list-style: none;
}
.faq summary:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { padding: 0 2px 18px; max-width: 760px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }

/* ---------- product use ---------- */
.prod-use {
  display: inline-flex; align-self: flex-start;
  margin-top: 2px; padding: 2px 8px; border-radius: 999px;
  background: var(--wash); color: var(--blue);
  font-size: 11.5px; line-height: 1.55;
}
.bundle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.bundle { padding: 16px 18px; background: var(--wash); border-radius: var(--radius-sm); }
.bundle b { display: block; font-size: 15px; }
.bundle span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* ---------- trend ---------- */
.trend-card { margin-bottom: 22px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.trend-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.trend-head b { font-size: 15px; }
.trend-head span { color: var(--muted); font-size: 12px; }
.trend-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 120px; }
.trend-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.trend-col i { display: block; width: 100%; max-width: 42px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--ice), var(--blue)); }
.trend-col b { color: var(--ink); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.trend-col span { color: var(--muted); font-size: 11.5px; }

/* ---------- tool extras ---------- */
.tool-card.wide { grid-column: 1 / -1; }
.result-note { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.result-status { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--wash); color: var(--blue); font-size: 12px; }
.result-status.warn { background: #fff4e5; color: #8a5a12; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.panel p.address-line { margin-top: 4px; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.6; }

/* ---------- QR ---------- */
.qr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.qr-card { text-align: center; padding: 18px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.qr-card img, .qr-card .qr-ph { width: 120px; height: 120px; margin: 0 auto 10px; border-radius: 6px; }
.qr-ph {
  display: grid; place-items: center;
  background-color: #f7f9fc;
  background-image: radial-gradient(#dbe6f2 1px, transparent 1px);
  background-size: 10px 10px;
  border: 1px dashed #b9c6d8; color: var(--muted); font-size: 12.5px; line-height: 1.5;
}
.qr-card b { display: block; font-size: 15px; font-weight: 600; }
.qr-card span { font-size: 12.5px; color: var(--muted); }

/* ---------- mini program QR preview ---------- */
.miniapp-qr-popover {
  --qr-origin-x: 100%;
  position: fixed;
  z-index: 90;
  width: 244px;
  padding: 12px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(0, 75, 159, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 60px rgba(7, 38, 76, .2), 0 4px 14px rgba(7, 38, 76, .08);
  transform: translateY(-4px) scale(.98);
  transform-origin: var(--qr-origin-x) 0;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.miniapp-qr-popover::before {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 14px;
}
.miniapp-qr-popover[data-placement="bottom"]::before { top: -14px; }
.miniapp-qr-popover[data-placement="top"] {
  transform: translateY(4px) scale(.98);
  transform-origin: var(--qr-origin-x) 100%;
}
.miniapp-qr-popover[data-placement="top"]::before { bottom: -14px; }
.miniapp-qr-popover.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.miniapp-qr-popover__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 1px 2px 10px;
}
.miniapp-qr-popover__head b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}
.miniapp-qr-popover__head span {
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--blue);
  background: #edf5ff;
  font-size: 10px;
  font-weight: 650;
}
.miniapp-qr-popover[data-kind="wecom"] .miniapp-qr-popover__head span {
  color: #14663a;
  background: #eaf8f0;
}
.miniapp-qr-popover__code {
  padding: 12px;
  border: 1px solid #dbe7f4;
  border-radius: 13px;
  background: #f7faff;
}
.miniapp-qr-popover__code img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 8px;
}
.miniapp-qr-popover__copy {
  padding: 12px 4px 3px;
}
.miniapp-qr-popover__copy b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}
.miniapp-qr-popover__copy p {
  margin-top: 4px;
  color: #5d7085;
  font-size: 11.5px;
  line-height: 1.55;
}
.miniapp-qr-popover__note {
  display: block;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid #e7eef7;
  color: #78889a;
  font-size: 10px;
  line-height: 1.5;
}
.miniapp-qr-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- CTA ---------- */
.cta-band { background: #004b9f; color: #fff; padding: 44px 0; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--pale); color: var(--ink); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band + .site-foot { border-top: 3px solid #fff; }
.cta-band h2 { font-size: 25px; }
.cta-band p { margin-top: 6px; color: rgba(255,255,255,.72); font-size: 14.5px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: rgba(255,255,255,.72); padding: 44px 0 0; font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr .72fr .68fr minmax(365px, 1.4fr); gap: 32px; padding-bottom: 30px; }
.site-foot h3, .site-foot h4 { color: #fff; font-size: 13.5px; margin-bottom: 12px; }
.site-foot a { display: block; color: rgba(255,255,255,.72); margin: 6px 0; }
.site-foot a:hover { color: #fff; }
.site-foot .foot-address { white-space: nowrap; }
.site-foot .brand-line { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.site-foot .foot-note { color: rgba(255,255,255,.62); font-size: 12.5px; line-height: 1.65; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 0 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: rgba(255,255,255,.62); font-size: 12.5px;
}
.foot-bottom a { display: inline; margin: 0; color: inherit; }
.foot-bottom a:hover { color: #fff; }

/* ---------- misc ---------- */
.note-bar {
  padding: 12px 18px; background: #fff8e6; border: 1px solid #f0dfae; border-radius: 6px;
  color: #7a6220; font-size: 13.5px;
}
.note-bar.info { background: var(--wash); border-color: var(--pale); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); font-size: 14px; cursor: pointer;
}
.chip.active, .chip:hover { border-color: var(--blue); color: var(--blue); background: var(--wash); }
.is-hidden { display: none !important; }
.mt-24 { margin-top: 24px; }
.mt-16 { margin-top: 16px; }

@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .qr-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; max-height: calc(100dvh - 72px); overflow-y: auto;
    background: var(--blue); padding: 12px 24px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav a.active { font-weight: 600; border-bottom-color: rgba(255,255,255,.1); }
  .nav-dropdown { width: 100%; }
  .nav-dropdown.is-open::after { display: none; }
  .nav-dropdown__row {
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-dropdown__link {
    flex: 1;
    padding: 13px 0;
    border-bottom: 0;
  }
  .nav-dropdown__toggle {
    width: 44px;
    height: 44px;
    border-bottom: 0;
  }
  .nav-dropdown__menu {
    position: static;
    display: none;
    width: 100%;
    left: auto;
    padding: 2px 0 8px 12px;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, .06);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-dropdown.is-open .nav-dropdown__menu {
    display: block;
    transform: none;
  }
  .nav .nav-dropdown__menu a {
    justify-items: start;
    padding: 10px 10px 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    border-radius: 0;
    color: rgba(255,255,255,.9);
    text-align: left;
  }
  .nav .nav-dropdown__menu a:hover,
  .nav .nav-dropdown__menu a:focus-visible { color: #fff; background: rgba(255,255,255,.08); }
  .nav-dropdown__menu b { color: #fff; font-size: 13px; }
  .nav-dropdown__menu span { color: rgba(255,255,255,.6); }
  .nav-toggle { display: block; }
  .head-cta { margin-left: auto; }
  .head-cta .btn { display: none; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: 38px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-board { width: 100%; max-width: 560px; margin-inline: auto; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .two-col, .tool-grid { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: 1fr; }
  .media-feature:not(.media-feature--square) { grid-template-columns: 1fr; }
  .media-feature:not(.media-feature--square) .media-feature__copy {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .media-feature--square { grid-template-columns: 1fr; }
  .media-feature--square .media-feature__copy {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .media-feature--square > .module-figure img { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps.three { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child,
  .foot-grid > div:last-child { grid-column: 1 / -1; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .prod-grid.compact { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: 1fr; }
  .promise-strip { grid-template-columns: repeat(2, 1fr); }
  .promise:nth-child(3) { border-left: 0; }
  .promise:nth-child(n+3) { border-top: 1px solid var(--line); }
  .brand-wall { grid-template-columns: repeat(3, 1fr); }
  .bundle-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .site-foot .wrap { width: calc(100% - 28px); }
  .site-foot a { min-height: 44px; display: flex; align-items: center; margin: 0; }
  .section { padding: 40px 0; }
  .hero { padding: 104px 0 0; }
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 15.5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-board { padding: 16px 18px; border-radius: 14px; }
  .hb-row { padding: 10px 0; }
  .page-hero { padding: 100px 0 36px; }
  .page-hero h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-thumb { aspect-ratio: 4 / 3; }
  .cat-body { padding: 11px 11px 10px; }
  .cat-card b { font-size: 14px; }
  .cat-card .cat-body span { font-size: 10.5px; }
  .prod-grid { grid-template-columns: 1fr; gap: 10px; }
  .prod-grid.compact { grid-template-columns: 1fr; }
  .prod-body { padding: 14px 14px 16px; }
  .price b { font-size: 22px; }
  .qr-grid { grid-template-columns: repeat(2, 1fr); }
  .qr-card { min-width: 0; }
  .qr-card img, .qr-card .qr-ph { width: 100%; max-width: 120px; height: auto; aspect-ratio: 1; }
  .media-feature--square > .module-figure img { aspect-ratio: 1 / 1; }
  .media-feature .bundle-grid--embedded { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps.three { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .stat b { font-size: 27px; }
  th, td { padding: 11px 13px; }
  table { font-size: 13.5px; }
  .client-card { padding: 20px; }
  .promise-strip { grid-template-columns: 1fr; }
  .promise { border-left: 0; }
  .promise + .promise { border-top: 1px solid var(--line); }
  .brand-wall { grid-template-columns: repeat(2, 1fr); }
  .brand-item { height: 78px; padding: 12px 16px; }
  .brand-item img { max-height: 34px; }
  .bundle-grid { grid-template-columns: 1fr; }
  .trend-bars { gap: 5px; height: 96px; }
  .trend-col b { font-size: 10.5px; }
  .trend-col span { font-size: 10.5px; }
  .table-hint { display: block; }
}

@media (hover: none), (pointer: coarse), (max-width: 760px) {
  .miniapp-qr-popover { display: none !important; }
}

@media (max-width: 900px) {
  html:not(.js) .site-head {
    position: relative !important;
    height: auto !important;
  }
  html:not(.js) .head-inner {
    height: auto !important;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  html:not(.js) .nav {
    position: static !important;
    display: flex !important;
    width: 100%;
    margin: 8px 0 0;
    padding: 0;
    background: transparent;
  }
  html:not(.js) .nav-toggle {
    display: none;
  }
}

@media (max-width: 330px) {
  .site-foot .foot-address { font-size: 12.5px; }
}
