/* ========== LEYU 共享样式 /assets/site.css ========== */

:root {
  --hf-green: #0B3D2E;
  --hf-green-dark: #061F16;
  --hf-gold: #D4AF37;
  --hf-gold-light: #F1E5C3;
  --hf-neon: #39FF14;
  --hf-light: #E8F0EC;
  --hf-white: #FFFFFF;
  --hf-gray-dark: #1A1A1A;
  --hf-gray-mid: #555555;
  --hf-font-heading: "DIN Condensed", "Oswald", "Noto Sans SC", sans-serif;
  --hf-font-body: "Georgia", "Noto Serif SC", serif;
  --hf-header-width: 260px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  margin-left: var(--hf-header-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--hf-light);
  color: var(--hf-gray-dark);
  font-family: var(--hf-font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hf-font-heading);
  color: var(--hf-green-dark);
  line-height: 1.15;
  text-wrap: balance;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
}

::selection {
  background: var(--hf-gold);
  color: var(--hf-green-dark);
}

:focus-visible {
  outline: 3px solid var(--hf-neon);
  outline-offset: 2px;
}

/* ---------- 通用辅助 ---------- */
.hf-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

#main-content {
  flex: 1 0 auto;
  scroll-margin-top: 24px;
  outline: none;
}

.hf-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* ---------- 按钮 ---------- */
.hf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--hf-font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hf-btn:hover {
  transform: translateY(-2px);
}

.hf-btn:active {
  transform: translateY(0);
}

.hf-btn--gold {
  background: linear-gradient(135deg, var(--hf-gold), var(--hf-gold-light));
  color: var(--hf-green-dark);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.hf-btn--gold:hover {
  filter: drop-shadow(0 6px 12px rgba(212, 175, 55, 0.4));
}

.hf-btn--gold:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 4px var(--hf-neon)) drop-shadow(0 0 12px rgba(57, 255, 20, 0.6));
}

.hf-btn--ghost {
  background: transparent;
  color: var(--hf-gold);
  border: 1px solid var(--hf-gold);
}

.hf-btn--ghost:hover {
  background: rgba(212, 175, 55, 0.12);
  filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.25));
}

.hf-btn--sm {
  padding: 9px 16px;
  font-size: 14px;
}

/* ---------- 章节标题 ---------- */
.hf-section-head {
  margin-bottom: 44px;
}

.hf-section-index {
  display: block;
  font-family: var(--hf-font-heading);
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--hf-gold);
  opacity: 0.28;
}

.hf-section-title {
  margin: 14px 0 10px;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hf-section-sub {
  max-width: 560px;
  font-size: 17px;
  color: var(--hf-gray-mid);
}

/* ---------- 网格 ---------- */
.hf-grid {
  display: grid;
  gap: 26px;
}

.hf-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hf-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hf-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- 卡片 ---------- */
.hf-card {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(6, 31, 22, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(6, 31, 22, 0.14);
}

.hf-card--dark {
  background: linear-gradient(160deg, var(--hf-green-dark), var(--hf-green));
  color: var(--hf-light);
  border-color: rgba(212, 175, 55, 0.35);
}

.hf-card--dark h1,
.hf-card--dark h2,
.hf-card--dark h3,
.hf-card--dark h4 {
  color: var(--hf-white);
}

/* ---------- 标签与徽标 ---------- */
.hf-tag {
  display: inline-block;
  padding: 4px 12px;
  font-family: var(--hf-font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hf-green);
  border: 1px solid var(--hf-gold);
  border-radius: 2px;
}

.hf-badge {
  display: inline-block;
  padding: 6px 14px 6px 18px;
  font-family: var(--hf-font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--hf-gold), var(--hf-gold-light));
  color: var(--hf-green-dark);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%);
}

/* ---------- 数据指标 ---------- */
.hf-metric {
  font-family: var(--hf-font-heading);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 700;
  line-height: 1;
  color: var(--hf-green);
}

.hf-metric--gold {
  color: var(--hf-gold);
}

.hf-metric--neon {
  color: var(--hf-neon);
  text-shadow: 0 0 18px rgba(57, 255, 20, 0.35);
}

.hf-highlight {
  color: var(--hf-gold);
  font-weight: 700;
}

.hf-highlight--neon {
  color: var(--hf-neon);
  background: var(--hf-green-dark);
  padding: 0 6px;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.25);
}

/* ---------- 分割线 ---------- */
.hf-divider {
  position: relative;
  height: 1px;
  margin: 48px 0;
  background: linear-gradient(90deg, transparent, var(--hf-gold), transparent);
  border: 0;
}

.hf-divider::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--hf-neon);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}

/* ---------- 图片容器 ---------- */
.hf-img-ratio {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--hf-green);
}

.hf-img-ratio::before {
  content: '';
  display: block;
}

.hf-img-ratio--16x9::before {
  padding-top: 56.25%;
}

.hf-img-ratio--4x3::before {
  padding-top: 75%;
}

.hf-img-ratio--1x1::before {
  padding-top: 100%;
}

.hf-img-ratio img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hf-img-ratio--skew {
  clip-path: polygon(28px 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
}

.hf-img-ratio--frame::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  pointer-events: none;
}

.hf-img-cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--hf-green);
}

/* ---------- 正文容器 ---------- */
.hf-prose {
  font-size: 17px;
  line-height: 1.8;
  color: var(--hf-gray-dark);
}

.hf-prose p {
  margin-bottom: 1.1em;
}

.hf-prose h2 {
  font-size: 28px;
  margin: 1.6em 0 0.6em;
}

.hf-prose h3 {
  font-size: 22px;
  margin: 1.4em 0 0.5em;
}

.hf-prose a {
  color: var(--hf-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hf-prose ul,
.hf-prose ol {
  padding-left: 1.4em;
  margin-bottom: 1.1em;
}

.hf-prose li::marker {
  color: var(--hf-gold);
}

.hf-prose blockquote {
  border-left: 4px solid var(--hf-gold);
  background: rgba(212, 175, 55, 0.08);
  padding: 12px 20px;
  margin: 1.4em 0;
  color: var(--hf-green-dark);
}

.hf-prose strong {
  color: var(--hf-green-dark);
  font-weight: 700;
}

.hf-prose hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--hf-gold), transparent);
  margin: 2em 0;
}

/* ---------- 面包屑 ---------- */
.hf-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-family: var(--hf-font-heading);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hf-breadcrumb a {
  color: var(--hf-gray-mid);
  text-decoration: none;
  transition: color 0.2s ease;
}

.hf-breadcrumb a:hover {
  color: var(--hf-gold);
}

.hf-breadcrumb__sep {
  color: var(--hf-gold);
  opacity: 0.7;
}

.hf-breadcrumb [aria-current="page"] {
  color: var(--hf-green);
  font-weight: 700;
}

/* ---------- 折叠面板 ---------- */
.hf-collapse {
  border-bottom: 2px solid rgba(11, 61, 46, 0.12);
}

.hf-collapse__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--hf-font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--hf-green-dark);
  transition: color 0.2s ease;
}

.hf-collapse__trigger:hover {
  color: var(--hf-gold);
}

.hf-collapse__trigger::after {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--hf-gold);
  color: var(--hf-gold);
  font-family: var(--hf-font-heading);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.hf-collapse__trigger[aria-expanded="true"]::after {
  content: '−';
  background: var(--hf-gold);
  color: var(--hf-green-dark);
}

.hf-collapse__content {
  padding: 0 4px 20px;
  color: var(--hf-gray-mid);
  line-height: 1.75;
}

[data-collapsible-content][hidden] {
  display: none;
}

/* ---------- 表格 ---------- */
.hf-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--hf-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(6, 31, 22, 0.08);
}

.hf-table th {
  padding: 14px 16px;
  background: var(--hf-green-dark);
  color: var(--hf-gold);
  font-family: var(--hf-font-heading);
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: left;
}

.hf-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(11, 61, 46, 0.12);
  color: var(--hf-gray-dark);
}

.hf-table tbody tr:nth-child(even) td {
  background: rgba(232, 240, 236, 0.55);
}

.hf-table tbody tr:hover td {
  background: rgba(212, 175, 55, 0.08);
}

/* ---------- 滚动显现协议 ---------- */
[data-reveal] {
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-reveal="pending"] {
  opacity: 0;
  transform: translateY(28px);
}

[data-reveal="visible"] {
  opacity: 1;
  transform: none;
}

.hf-reveal--delay-1 {
  transition-delay: 0.12s;
}

.hf-reveal--delay-2 {
  transition-delay: 0.24s;
}

.hf-reveal--delay-3 {
  transition-delay: 0.36s;
}

/* ---------- 顶部滚动进度条 ---------- */
.hf-scroll-progress {
  position: fixed;
  top: 0;
  left: var(--hf-header-width);
  right: 0;
  height: 3px;
  z-index: 1500;
  pointer-events: none;
  background: linear-gradient(90deg, var(--hf-gold), var(--hf-neon));
  transform: scaleX(0);
  transform-origin: 0 0;
}

/* ---------- 跳过链接 ---------- */
.hf-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--hf-gold), var(--hf-gold-light));
  color: var(--hf-green-dark);
  font-family: var(--hf-font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 4px;
  transform: translateY(-180%);
  transition: transform 0.3s ease;
}

.hf-skip-link:focus {
  transform: translateY(0);
}

/* ---------- 共享头部：桌面左侧框架 ---------- */
.hf-header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--hf-header-width);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 30px 22px 24px;
  color: var(--hf-light);
  background:
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 12px, transparent 12px, transparent 24px),
    linear-gradient(180deg, var(--hf-green-dark), var(--hf-green));
  border-right: 2px solid rgba(212, 175, 55, 0.72);
}

.hf-header::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 2px;
  background: linear-gradient(to bottom, transparent 0%, rgba(57, 255, 20, 0.9) 35%, rgba(57, 255, 20, 0.9) 65%, transparent 100%);
  opacity: 0.75;
  pointer-events: none;
}

.hf-header::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-bottom: 22px solid var(--hf-gold);
  pointer-events: none;
}

.hf-header__brand {
  padding-bottom: 22px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.hf-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.hf-brand__mark {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hf-gold), var(--hf-gold-light));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  font-family: var(--hf-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--hf-green-dark);
}

.hf-brand__text {
  display: block;
  min-width: 0;
}

.hf-brand__name {
  display: block;
  font-family: var(--hf-font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--hf-white);
  line-height: 1.1;
  white-space: nowrap;
}

.hf-brand__tag {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(232, 240, 236, 0.58);
  white-space: nowrap;
}

/* ---------- 共享导航 ---------- */
.hf-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.hf-nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hf-nav__item {
  margin: 0;
  padding: 0;
}

.hf-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  color: rgba(232, 240, 236, 0.82);
  text-decoration: none;
  font-family: var(--hf-font-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-left: 3px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.hf-nav__link::before {
  content: attr(data-index);
  min-width: 20px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--hf-gold);
  opacity: 0.8;
}

.hf-nav__link:hover {
  color: var(--hf-white);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.12), transparent);
  border-left-color: var(--hf-gold);
  transform: translateX(4px);
}

.hf-nav__link[aria-current="page"] {
  color: var(--hf-gold);
  border-left-color: var(--hf-gold);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.16), transparent);
}

.hf-nav__link[aria-current="page"]::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hf-neon);
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.8);
}

.hf-nav__foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.hf-nav__cta {
  width: 100%;
}

.hf-nav__slogan {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 240, 236, 0.45);
}

.hf-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.hf-nav-toggle:hover {
  border-color: var(--hf-gold);
}

.hf-nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--hf-gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hf-nav-toggle[aria-expanded="true"] .hf-nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hf-nav-toggle[aria-expanded="true"] .hf-nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.hf-nav-toggle[aria-expanded="true"] .hf-nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- 共享页脚 ---------- */
.hf-footer {
  position: relative;
  margin-top: auto;
  background:
    repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.028), rgba(212, 175, 55, 0.028) 1px, transparent 1px, transparent 18px),
    repeating-linear-gradient(-45deg, rgba(212, 175, 55, 0.028), rgba(212, 175, 55, 0.028) 1px, transparent 1px, transparent 18px),
    var(--hf-green-dark);
  color: rgba(232, 240, 236, 0.78);
}

.hf-footer__pitch {
  position: relative;
  height: 40px;
  border-top: 3px solid var(--hf-gold);
  overflow: hidden;
}

.hf-footer__pitch::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 44px;
  border: 2px solid var(--hf-neon);
  border-top: 0;
  border-radius: 0 0 120px 120px;
  opacity: 0.5;
}

.hf-footer__pitch::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.8) 28%, rgba(57, 255, 20, 0.8) 72%, transparent);
}

.hf-footer__grid {
  display: grid;
  grid-template-columns: 4fr 2fr 3fr 2fr;
  gap: 40px;
  padding: 48px 0 42px;
}

.hf-footer__brand,
.hf-footer__nav,
.hf-footer__contact,
.hf-footer__legal {
  min-width: 0;
}

.hf-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.hf-footer__logo-mark {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hf-gold), var(--hf-gold-light));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  font-family: var(--hf-font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--hf-green-dark);
}

.hf-footer__logo-text {
  font-family: var(--hf-font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--hf-white);
}

.hf-footer__trust {
  margin-top: 18px;
  max-width: 330px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(232, 240, 236, 0.6);
}

.hf-footer__heading {
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.22);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hf-font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hf-gold);
}

.hf-footer__heading::before {
  content: '';
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  background: var(--hf-neon);
  transform: rotate(45deg);
}

.hf-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.hf-footer__list--contact li {
  line-height: 1.7;
  color: rgba(232, 240, 236, 0.7);
}

.hf-footer__link {
  color: rgba(232, 240, 236, 0.75);
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.hf-footer__link:hover {
  color: var(--hf-gold);
  padding-left: 4px;
}

.hf-footer__contact .hf-btn {
  margin-top: 16px;
}

.hf-footer__icp {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(232, 240, 236, 0.4);
  letter-spacing: 0.04em;
}

.hf-footer__bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 18px 0;
}

.hf-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.hf-footer__bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(232, 240, 236, 0.5);
}

.hf-footer__service {
  letter-spacing: 0.04em;
}

/* ---------- 响应式：平板与手机 ---------- */
@media (max-width: 1099px) {
  body {
    margin-left: 0;
    padding-top: 72px;
  }

  #main-content {
    scroll-margin-top: 88px;
  }

  .hf-scroll-progress {
    left: 0;
  }

  .hf-header {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 72px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-right: 0;
    border-bottom: 2px solid rgba(212, 175, 55, 0.72);
  }

  .hf-header::before,
  .hf-header::after {
    display: none;
  }

  .hf-header__brand {
    padding: 0;
    margin: 0;
    border: 0;
  }

  .hf-brand__tag {
    display: none;
  }

  .hf-nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    z-index: 950;
    flex: none;
    display: block;
    width: 320px;
    max-width: 88vw;
    padding: 32px 28px 40px;
    background: linear-gradient(180deg, var(--hf-green-dark), var(--hf-green));
    border-left: 2px solid rgba(212, 175, 55, 0.5);
    box-shadow: -24px 0 48px rgba(6, 31, 22, 0.45);
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(102%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s;
  }

  .hf-nav[data-open] {
    visibility: visible;
    transform: translateX(0);
  }

  .hf-nav__foot {
    margin-top: 40px;
  }

  .hf-nav-toggle {
    display: inline-flex;
  }

  .hf-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

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

@media (max-width: 640px) {
  .hf-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hf-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hf-brand__name {
    font-size: 19px;
  }

  .hf-brand__mark {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .hf-grid--2,
  .hf-grid--3,
  .hf-grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hf-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 38px 0 34px;
  }

  .hf-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal="pending"] {
    opacity: 1;
    transform: none;
  }
}
