/* ==========================================================================
   华采蔬菜代办 · 张港镇产地直发
   零构建纯静态站点样式表
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 底色：暖纸色，避免生硬纯白 */
  --paper: #f6f4ee;
  --paper-2: #eeeadf;
  --paper-3: #e5dfd0;
  --card: #ffffff;

  /* 文字 */
  --ink: #14201a;
  --ink-2: #3b4a42;
  --ink-3: #6c7b73;
  --ink-4: #94a29a;

  /* 品牌绿 */
  --green: #1b5e3a;
  --green-2: #2f7d52;
  --green-3: #57a377;
  --green-soft: #dcebe0;
  --green-deep: #0f3a24;

  /* 强调色：柿红 */
  --accent: #e4572e;
  --accent-hover: #cc4520;
  --accent-soft: #fbe7df;

  /* 点缀：菜花奶油 / 谷金 */
  --cream: #fffdf5;
  --gold: #a67c14;
  --gold-soft: #f6ecd2;

  /* 行情涨跌（国内习惯：涨红跌绿） */
  --up: #d4381c;
  --up-soft: #fbe6e1;
  --down: #1c8447;
  --down-soft: #e0f1e6;
  --flat: #7a8880;

  /* 线条与阴影 */
  --line: rgba(20, 32, 26, 0.12);
  --line-soft: rgba(20, 32, 26, 0.07);
  --shadow-sm: 0 1px 2px rgba(20, 32, 26, 0.05);
  --shadow: 0 1px 2px rgba(20, 32, 26, 0.04), 0 14px 34px -14px rgba(20, 32, 26, 0.16);
  --shadow-lg: 0 2px 4px rgba(20, 32, 26, 0.05), 0 28px 60px -22px rgba(20, 32, 26, 0.26);

  /* 圆角 */
  --r-xs: 6px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* 字体 */
  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans SC",
    "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* 尺寸 */
  --container: 1180px;
  --header-h: 68px;
  --topbar-h: 38px;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::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;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, p, figure, ul, ol, dl, dd {
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

::selection {
  background: var(--green);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--green);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- 3. 版心与栅格 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

.section {
  padding-block: clamp(56px, 8vw, 112px);
}
.section--tight {
  padding-block: clamp(40px, 5vw, 72px);
}
.section--paper2 {
  background: var(--paper-2);
}
.section--deep {
  background: var(--green-deep);
  color: #eaf2ec;
}

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}
.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)); }

/* ---------- 4. 排版元件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--green);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section--deep .eyebrow {
  color: var(--green-3);
}

.h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.h3 {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.35;
  font-weight: 700;
}
.h4 {
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  line-height: 1.75;
}
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.xs { font-size: 13px; }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.center { text-align: center; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head__main {
  max-width: 660px;
}
.section-head .h2 {
  margin-top: 14px;
}
.section-head .lead {
  margin-top: 14px;
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(228, 87, 46, 0.7);
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-green {
  background: var(--green);
  color: #fff;
}
.btn-green:hover {
  background: var(--green-deep);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(20, 32, 26, 0.03);
}
.btn-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.btn-light:hover {
  background: rgba(255, 255, 255, 0.18);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
}
.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}
.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 6. 顶栏与页头 ---------- */
.topbar {
  background: var(--green-deep);
  color: rgba(234, 242, 236, 0.86);
  font-size: 13px;
  line-height: var(--topbar-h);
  height: var(--topbar-h);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
}
.topbar__list {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.topbar__item svg {
  width: 14px;
  height: 14px;
  opacity: 0.75;
}
.topbar a:hover {
  color: #fff;
}
.topbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7a0;
  box-shadow: 0 0 0 3px rgba(110, 231, 160, 0.2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(246, 244, 238, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.site-header.is-stuck {
  box-shadow: 0 10px 30px -22px rgba(20, 32, 26, 0.5);
  background: rgba(246, 244, 238, 0.95);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--green);
  display: grid;
  place-items: center;
  color: var(--cream);
  flex: none;
}
.brand__mark svg {
  width: 24px;
  height: 24px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand__sub {
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  position: relative;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.16s ease, background-color 0.16s ease;
}
.nav__link:hover {
  color: var(--ink);
  background: rgba(20, 32, 26, 0.05);
}
.nav__link[aria-current="page"] {
  color: var(--green);
  font-weight: 700;
  background: var(--green-soft);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 12px;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.18s ease, top 0.22s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

/* ---------- 7. 首页 Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(44px, 6vw, 88px) clamp(52px, 7vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 88% 8%, rgba(47, 125, 82, 0.16), transparent 70%),
    radial-gradient(45% 40% at 4% 96%, rgba(228, 87, 46, 0.09), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.hero__title {
  margin-top: 20px;
}
.hero__title em {
  font-style: normal;
  color: var(--green);
  background: linear-gradient(transparent 62%, rgba(47, 125, 82, 0.22) 62%);
  padding-inline: 2px;
}
.hero__lead {
  margin-top: 22px;
  max-width: 560px;
}
.hero__actions {
  margin-top: 32px;
}
.hero__chips {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.chip svg {
  width: 15px;
  height: 15px;
  color: var(--green);
  flex: none;
}
.chip--green {
  background: var(--green-soft);
  border-color: transparent;
  color: var(--green-deep);
}
.chip--gold {
  background: var(--gold-soft);
  border-color: transparent;
  color: #6c4f08;
}
.chip--accent {
  background: var(--accent-soft);
  border-color: transparent;
  color: #9a3213;
}

/* Hero 右侧：产地看板 */
.board {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--green-deep);
  color: #eaf2ec;
}
.board__title {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
}
.board__live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ee7a0;
  box-shadow: 0 0 0 4px rgba(110, 231, 160, 0.2);
}
.board__date {
  font-family: var(--mono);
  font-size: 12.5px;
  opacity: 0.8;
}
.board__rows {
  padding: 8px 20px 6px;
}
.board__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.board__row:last-child {
  border-bottom: 0;
}
.board__name {
  font-weight: 600;
  font-size: 15px;
}
.board__spec {
  display: block;
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 400;
}
.board__price {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 17px;
}
.board__price small {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 2px;
}
.board__foot {
  padding: 14px 20px;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-3);
}
.board__link {
  color: var(--green);
  font-weight: 600;
}
.board__link:hover {
  text-decoration: underline;
}

.trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.trend--up {
  color: var(--up);
  background: var(--up-soft);
}
.trend--down {
  color: var(--down);
  background: var(--down-soft);
}
.trend--flat {
  color: var(--flat);
  background: rgba(20, 32, 26, 0.06);
}

/* 浮动小卡 */
.hero__float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
}
.hero__float--a {
  left: 22px;
  bottom: -26px;
}
.hero__float--b {
  right: -14px;
  top: -16px;
}
.hero__float strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.1;
  font-family: var(--mono);
}
.hero__float span {
  color: var(--ink-3);
  font-weight: 500;
  font-size: 12px;
}
.hero__visual {
  position: relative;
}

/* ---------- 8. 滚动播报条 ---------- */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--green-deep);
  color: #eaf2ec;
  overflow: hidden;
  padding-block: 12px;
}
.ticker__track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  white-space: nowrap;
}
.ticker__item b {
  font-family: var(--mono);
  font-weight: 700;
}
.ticker__sep {
  opacity: 0.35;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 9. 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(27, 94, 58, 0.35);
}
.card--flat {
  background: transparent;
  box-shadow: none;
}
.card--green {
  background: var(--green);
  border-color: transparent;
  color: #eaf2ec;
}
.card--green .muted {
  color: rgba(234, 242, 236, 0.72);
}
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  color: var(--green);
  margin-bottom: 18px;
}
.card__icon svg {
  width: 26px;
  height: 26px;
}
.card__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
}
.card .h3,
.card .h4 {
  margin-bottom: 10px;
}
.card p + p {
  margin-top: 10px;
}

/* 品类卡 */
.veg {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.veg__art {
  aspect-ratio: 16 / 11;
  border-radius: var(--r-sm);
  background: var(--paper-2);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.veg__art img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.card--hover:hover .veg__art img {
  transform: scale(1.07) rotate(-2deg);
}
.veg__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(20, 32, 26, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.veg__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: auto;
}
.veg__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.veg__meta svg {
  width: 14px;
  height: 14px;
}

/* ---------- 10. 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.stat {
  background: var(--card);
  padding: clamp(18px, 2.4vw, 28px);
}
.stat__value {
  font-family: var(--mono);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--green);
  letter-spacing: -0.02em;
}
.stat__value small {
  font-size: 0.5em;
  font-weight: 700;
  margin-left: 3px;
  color: var(--ink-3);
}
.stat__label {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-3);
}
.section--deep .stat {
  background: rgba(255, 255, 255, 0.04);
}
.section--deep .stat__value {
  color: #9be7b8;
}
.section--deep .stat__label {
  color: rgba(234, 242, 236, 0.7);
}
.section--deep .stats {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ---------- 11. 流程步骤 ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: clamp(18px, 2.2vw, 26px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.step__num {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--green);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 17px;
  flex: none;
}
.step__body .h4 {
  margin-bottom: 6px;
}
.step__body p {
  color: var(--ink-2);
  font-size: 15px;
}
.step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  font-size: 12.5px;
  color: var(--ink-2);
}

.steps--row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.steps--row .step {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.steps--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.steps--five .step {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

/* ---------- 12. 表格（行情 / 日历 / 规格） ---------- */
.table-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table {
  min-width: 720px;
  font-size: 14.5px;
}
.table--market {
  min-width: 1020px;
}
.table .name {
  min-width: 150px;
}
.table thead th {
  background: var(--paper-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table thead th.num {
  text-align: right;
}
.table .num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.table tbody tr:last-child td {
  border-bottom: 0;
}
.table tbody tr:hover {
  background: rgba(220, 235, 224, 0.32);
}
.table .name {
  font-weight: 700;
}
.table .name small {
  display: block;
  font-weight: 400;
  color: var(--ink-3);
  font-size: 12.5px;
}
.table-hint {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.table-hint svg {
  width: 15px;
  height: 15px;
}
.table__caption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink-3);
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}

/* 筛选器 */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.filter-btn {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.16s ease;
}
.filter-btn:hover {
  border-color: var(--ink-3);
}
.filter-btn.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  font-weight: 600;
}

.search {
  position: relative;
  flex: 1 1 220px;
  max-width: 320px;
  margin-left: auto;
}
.search input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 14px;
}
.search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--ink-3);
}

/* 上市日历 */
.calendar {
  min-width: 860px;
  font-size: 13px;
}
.calendar th,
.calendar td {
  padding: 0;
  text-align: center;
}
.calendar thead th {
  padding: 10px 4px;
  font-size: 12px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.calendar thead th.calendar__rowhead {
  text-align: left;
  padding-left: 16px;
  min-width: 132px;
}
.calendar tbody th {
  text-align: left;
  padding: 0 16px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  left: 0;
  background: var(--card);
  z-index: 1;
}
.calendar tbody td {
  border-bottom: 1px solid var(--line-soft);
  height: 40px;
  min-width: 40px;
}
.calendar__bar {
  display: block;
  height: 16px;
  margin-inline: 2px;
  border-radius: 4px;
  background: var(--green-soft);
}
.calendar__bar--peak {
  background: var(--green-2);
}
.calendar__bar--edge {
  background: repeating-linear-gradient(
    -45deg,
    var(--green-soft),
    var(--green-soft) 4px,
    transparent 4px,
    transparent 7px
  );
}
.calendar tbody tr:hover th,
.calendar tbody tr:hover td {
  background-color: rgba(220, 235, 224, 0.4);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--ink-3);
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.legend i {
  width: 22px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

/* ---------- 13. FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.faq-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 4px;
}
.faq-nav__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.faq-nav a {
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: 15px;
  color: var(--ink-2);
  transition: background-color 0.16s ease, color 0.16s ease;
}
.faq-nav a:hover,
.faq-nav a.is-active {
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 600;
}

.faq-group + .faq-group {
  margin-top: 40px;
}
.faq-group__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.faq-group__title span {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item + .faq-item {
  margin-top: 10px;
}
.faq-item[open] {
  border-color: rgba(27, 94, 58, 0.4);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--green);
}
.faq-item__icon {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  transition: transform 0.24s ease, background-color 0.2s ease, color 0.2s ease;
}
.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--green);
  color: #fff;
}
.faq-item__icon svg {
  width: 14px;
  height: 14px;
}
.faq-item__body {
  padding: 0 22px 20px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.8;
}
.faq-item__body p + p {
  margin-top: 10px;
}
.faq-item__body ul {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}
.faq-item__body li {
  padding-left: 18px;
  position: relative;
}
.faq-item__body li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-3);
}

/* ---------- 14. 表单 ---------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 38px);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.field {
  display: grid;
  gap: 7px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.field label .req {
  color: var(--accent);
  margin-left: 2px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 15px;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea {
  resize: vertical;
  min-height: 104px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(27, 94, 58, 0.1);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--accent);
  background: #fff8f6;
}
.field__error {
  font-size: 13px;
  color: var(--accent);
  min-height: 0;
}
.field__hint {
  font-size: 12.5px;
  color: var(--ink-3);
}

.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.check {
  position: relative;
}
.check input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.check span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.16s ease;
}
.check input:checked + span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  font-weight: 600;
}
.check input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-result {
  margin-top: 22px;
  border-radius: var(--r);
  border: 1px solid rgba(27, 94, 58, 0.3);
  background: var(--green-soft);
  padding: 20px 22px;
}
.form-result[hidden] {
  display: none;
}
.form-result__title {
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-result__text {
  background: #fff;
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
  border: 1px solid var(--line);
}
.form-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* ---------- 15. 联系方式卡 ---------- */
.contact-list {
  display: grid;
  gap: 12px;
}
.contact-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
}
.contact-item__icon svg {
  width: 21px;
  height: 21px;
}
.contact-item__label {
  font-size: 13px;
  color: var(--ink-3);
}
.contact-item__value {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}
.contact-item__value a:hover {
  color: var(--green);
}

/* ---------- 16. CTA 横幅 ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--green-deep);
  color: #eaf2ec;
  padding: clamp(32px, 5vw, 64px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 28px;
  align-items: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 231, 160, 0.22), transparent 68%);
  pointer-events: none;
}
.cta-band .h2 {
  color: #fff;
}
.cta-band p {
  margin-top: 12px;
  color: rgba(234, 242, 236, 0.78);
  max-width: 560px;
}
.cta-band__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 17. 页脚 ---------- */
.site-footer {
  background: var(--green-deep);
  color: rgba(234, 242, 236, 0.78);
  padding-top: clamp(48px, 6vw, 80px);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .brand__name {
  color: #fff;
}
.footer-brand .brand__sub {
  color: rgba(234, 242, 236, 0.6);
}
.footer-brand .brand__mark {
  background: rgba(255, 255, 255, 0.1);
}
.footer-desc {
  margin-top: 16px;
  font-size: 14.5px;
  max-width: 340px;
}
.footer-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 14px;
}
.footer-links {
  display: grid;
  gap: 9px;
  font-size: 14.5px;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 22px;
  font-size: 13px;
  color: rgba(234, 242, 236, 0.55);
}
.footer-bottom a:hover {
  color: #fff;
}

/* ---------- 18. 页面头（内页） ---------- */
.page-head {
  position: relative;
  padding-block: clamp(44px, 6vw, 84px) clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(50% 60% at 92% 0%, rgba(47, 125, 82, 0.13), transparent 70%),
    var(--paper);
}
.page-head__inner {
  max-width: 780px;
}
.page-head .h1 {
  font-size: clamp(30px, 4.6vw, 54px);
  margin-top: 18px;
}
.page-head .lead {
  margin-top: 18px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-3);
  margin-top: 26px;
}
.breadcrumb a:hover {
  color: var(--green);
}
.breadcrumb span[aria-hidden] {
  opacity: 0.5;
}

/* ---------- 19. 其他元件 ---------- */
.callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--r);
  background: var(--gold-soft);
  border: 1px solid rgba(166, 124, 20, 0.24);
  color: #5b4306;
  font-size: 15px;
}
.callout svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  color: var(--gold);
}
.callout--green {
  background: var(--green-soft);
  border-color: rgba(27, 94, 58, 0.2);
  color: var(--green-deep);
}
.callout--green svg {
  color: var(--green);
}
.callout strong {
  font-weight: 700;
}

.checklist {
  display: grid;
  gap: 12px;
}
.checklist li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 15.5px;
  color: var(--ink-2);
}
.checklist svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  margin-top: 3px;
}

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.compare__col {
  border-radius: var(--r);
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line);
  background: var(--card);
}
.compare__col--good {
  background: var(--green);
  border-color: transparent;
  color: #eaf2ec;
}
.compare__col--good .checklist li {
  color: rgba(234, 242, 236, 0.9);
}
.compare__col--good .checklist svg {
  color: #9be7b8;
}
.compare__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.compare__col--bad .compare__head {
  color: var(--ink-3);
}

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin-block: clamp(28px, 4vw, 48px);
}

/* 产区示意图 */
.map-figure {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--shadow-sm);
}
.map-figure figcaption {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* 滚动显现：仅在 JS 可用时才隐藏初始状态，避免脚本失败导致内容不可见 */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
.js .reveal[data-delay="1"] { transition-delay: 80ms; }
.js .reveal[data-delay="2"] { transition-delay: 160ms; }
.js .reveal[data-delay="3"] { transition-delay: 240ms; }

/* 移动端底部操作条 */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 8px;
  box-shadow: 0 -8px 24px -16px rgba(20, 32, 26, 0.4);
}
.mobile-bar .btn {
  padding: 12px 8px;
  font-size: 14px;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 110;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.to-top svg {
  width: 18px;
  height: 18px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translate(-50%, 20px);
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 20. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__visual {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps--row,
  .steps--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .faq-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .faq-nav__title {
    display: none;
  }
  .faq-nav a {
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    padding: 7px 14px;
    font-size: 14px;
  }
}

@media (max-width: 860px) {
  .table-hint {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px clamp(18px, 4vw, 40px) 24px;
    box-shadow: 0 24px 40px -24px rgba(20, 32, 26, 0.5);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__link {
    padding: 13px 14px;
    font-size: 16px;
    border-radius: var(--r-sm);
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-cta .btn-ghost {
    display: none;
  }
  .topbar__list--secondary {
    display: none;
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-band {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__float--a {
    left: 10px;
    bottom: 16px;
  }
  .hero__float--b {
    right: 10px;
    top: -12px;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 76px;
  }
  .mobile-bar {
    display: grid;
  }
  .topbar {
    height: auto;
    line-height: 1.5;
    padding-block: 8px;
  }
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .topbar__list {
    gap: 12px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .steps--row,
  .steps--five,
  .compare,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .brand__sub {
    display: none;
  }
  .hero__actions .btn,
  .cta-band__actions .btn {
    width: 100%;
  }
  .board__row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .board__row .trend {
    grid-column: 2;
    justify-self: end;
  }
  .board__price {
    grid-column: 1 / -1;
  }
  .hero__float--b {
    display: none;
  }
  .section-head {
    align-items: flex-start;
  }
  .search {
    max-width: none;
    margin-left: 0;
    flex-basis: 100%;
  }
}

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

@media print {
  .topbar,
  .site-header,
  .mobile-bar,
  .to-top,
  .ticker,
  .cta-band__actions {
    display: none !important;
  }
  body {
    background: #fff;
    padding: 0;
  }
  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
