:root {
  --qh-primary: #FF6B00;
  --qh-primary-dark: #E65C00;
  --qh-secondary: #7EC8E3;
  --qh-accent: #7B2D8B;
  --qh-neutral-01: #FFFFFF;
  --qh-neutral-02: #F5F5F5;
  --qh-neutral-03: #222222;
  --qh-neutral-04: #555555;
  --qh-neutral-05: #999999;
  --qh-text-on-primary: #FFFFFF;
  --qh-text-on-light: #222222;
  --qh-text-on-dark: #FFFFFF;
  --qh-border: #DDDDDD;
  --qh-success: #2E7D32;
  --qh-warning: #FFB300;
  --qh-radius-lg: 20px;
  --qh-radius-md: 14px;
  --qh-radius-sm: 8px;
  --qh-radius-pill: 999px;
  --qh-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --qh-shadow-md: 0 6px 24px rgba(0, 0, 0, 0.08);
  --qh-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --qh-header-h: 68px;
  --qh-content-max: 1200px;
  --qh-gutter: 24px;
  --qh-font-head: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', system-ui, sans-serif;
  --qh-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

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

body {
  font-family: var(--qh-font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--qh-text-on-light);
  background-color: var(--qh-neutral-01);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--qh-font-head);
  font-weight: 900;
  line-height: 1.25;
  color: var(--qh-text-on-light);
  margin: 0 0 12px;
}

p {
  line-height: 1.7;
  margin: 0 0 12px;
}

a {
  color: var(--qh-primary);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: var(--qh-primary-dark);
}

ul, ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

::selection {
  background: var(--qh-primary);
  color: var(--qh-text-on-primary);
}

#main-content {
  scroll-margin-top: calc(var(--qh-header-h) + 16px);
  outline: none;
}

@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;
  }
  html[data-js] [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

.qh-container {
  width: 100%;
  max-width: var(--qh-content-max);
  margin-inline: auto;
  padding-inline: var(--qh-gutter);
}

.qh-section {
  padding-block: 64px;
}

.qh-section-head {
  max-width: 780px;
  margin-bottom: 32px;
}

.qh-section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.qh-section-sub {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--qh-neutral-04);
}

.qh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 4px 14px;
  border-radius: var(--qh-radius-pill);
  background: var(--qh-neutral-02);
  color: var(--qh-primary-dark);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.qh-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--qh-primary);
  flex-shrink: 0;
}

.qh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--qh-radius-pill);
  background: var(--qh-primary);
  border: 2px solid var(--qh-primary);
  color: var(--qh-text-on-primary);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}

.qh-btn:hover {
  background: var(--qh-primary-dark);
  border-color: var(--qh-primary-dark);
  color: var(--qh-text-on-primary);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.25);
}

.qh-btn:active {
  transform: translateY(1px);
}

.qh-btn--ghost {
  background: transparent;
  border-color: var(--qh-primary);
  color: var(--qh-primary);
}

.qh-btn--ghost:hover {
  background: var(--qh-primary);
  color: var(--qh-text-on-primary);
}

.qh-btn--secondary {
  background: var(--qh-secondary);
  border-color: var(--qh-secondary);
  color: var(--qh-text-on-light);
}

.qh-btn--secondary:hover {
  background: #6bb8d4;
  border-color: #6bb8d4;
  color: var(--qh-text-on-light);
  box-shadow: 0 6px 20px rgba(126, 200, 227, 0.3);
}

.qh-btn--lg {
  padding: 15px 36px;
  font-size: 1rem;
}

.qh-btn--sm {
  padding: 8px 18px;
  font-size: .85rem;
}

.qh-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--qh-radius-pill);
  background: var(--qh-secondary);
  color: var(--qh-text-on-light);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
}

.qh-tag--outline {
  background: transparent;
  border: 1px solid var(--qh-border);
  color: var(--qh-neutral-04);
}

.qh-tag--primary {
  background: var(--qh-primary);
  color: var(--qh-text-on-primary);
}

.qh-tag--accent {
  background: var(--qh-accent);
  color: var(--qh-text-on-primary);
}

.qh-card {
  background: var(--qh-neutral-01);
  border: 1px solid var(--qh-border);
  border-radius: var(--qh-radius-lg);
  padding: 24px;
  box-shadow: var(--qh-shadow-sm);
  transition: box-shadow .25s ease, border-color .25s ease, transform .2s ease;
}

.qh-card:hover {
  box-shadow: var(--qh-shadow-md);
  border-color: rgba(255, 107, 0, 0.4);
}

.qh-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding-inline: 10px;
  border-radius: var(--qh-radius-pill);
  background: var(--qh-primary);
  color: var(--qh-text-on-primary);
  font-size: .85rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.qh-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--qh-text-on-light);
}

.qh-card__text {
  color: var(--qh-neutral-04);
  font-size: .9rem;
  line-height: 1.7;
}

.qh-panel {
  background: var(--qh-neutral-01);
  border-radius: var(--qh-radius-lg);
  box-shadow: var(--qh-shadow-md);
  padding: 32px;
}

.qh-panel--flat {
  background: var(--qh-neutral-02);
  box-shadow: none;
}

.qh-panel--dark {
  background: var(--qh-neutral-03);
  color: rgba(255, 255, 255, 0.85);
}

.qh-panel--dark h1,
.qh-panel--dark h2,
.qh-panel--dark h3,
.qh-panel--dark h4,
.qh-panel--dark h5,
.qh-panel--dark h6 {
  color: var(--qh-text-on-dark);
}

.qh-grid {
  display: grid;
  gap: 24px;
}

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

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

.qh-grid--2-1 {
  grid-template-columns: 2fr 1fr;
}

.qh-img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--qh-radius-lg);
  background: var(--qh-neutral-02);
  aspect-ratio: 16 / 9;
}

.qh-img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(126, 200, 227, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 107, 0, 0.12) 50%, rgba(255, 107, 0, 0.12) 55%, transparent 55%);
  z-index: 1;
}

.qh-img-frame--square {
  aspect-ratio: 1 / 1;
}

.qh-img-frame--portrait {
  aspect-ratio: 3 / 4;
}

.qh-img-frame--wide {
  aspect-ratio: 21 / 9;
}

.qh-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding-block: 12px;
  font-size: .84rem;
  color: var(--qh-neutral-05);
}

.qh-breadcrumb a {
  color: var(--qh-neutral-04);
}

.qh-breadcrumb a:hover {
  color: var(--qh-primary);
}

.qh-breadcrumb li + li::before {
  content: '/';
  margin-inline: 6px;
  color: var(--qh-neutral-05);
}

.qh-breadcrumb [aria-current="page"] {
  color: var(--qh-text-on-light);
  font-weight: 600;
}

.qh-text-list {
  padding-left: 20px;
  list-style: disc;
}

.qh-text-list li + li {
  margin-top: 6px;
}

html[data-js] [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
  transition-delay: var(--qh-reveal-delay, 0ms);
}

html[data-js] [data-reveal][data-revealed] {
  opacity: 1;
  transform: translateY(0);
}

.qh-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--qh-neutral-01);
  border-bottom: 1px solid var(--qh-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.qh-site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--qh-secondary) 0%, var(--qh-primary) 45%, var(--qh-accent) 90%);
  z-index: 1;
}

.qh-skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  padding: 8px 20px;
  border-radius: var(--qh-radius-sm);
  background: var(--qh-primary);
  color: var(--qh-text-on-primary);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
}

.qh-skip-link:focus {
  top: 8px;
  color: var(--qh-text-on-primary);
}

.qh-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--qh-header-h);
}

.qh-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.qh-brand:hover {
  color: inherit;
}

.qh-brand-mark {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--qh-primary);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.qh-brand-mark::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  border: 3px solid var(--qh-neutral-01);
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(30deg);
}

.qh-brand-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--qh-neutral-01);
  transform: translate(-50%, -50%);
}

.qh-brand-name {
  font-family: var(--qh-font-head);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--qh-text-on-light);
}

.qh-nav {
  margin-left: auto;
}

.qh-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.qh-nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 16px;
  border-radius: var(--qh-radius-pill);
  font-size: .92rem;
  font-weight: 600;
  color: var(--qh-text-on-light);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.qh-nav-link:hover {
  background: var(--qh-neutral-02);
  color: var(--qh-primary);
}

.qh-nav-link[aria-current="page"] {
  background: var(--qh-primary);
  color: var(--qh-text-on-primary);
  box-shadow: 0 3px 0 0 var(--qh-secondary);
}

.qh-nav-link[aria-current="page"]:hover {
  background: var(--qh-primary-dark);
  color: var(--qh-text-on-primary);
}

.qh-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.qh-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--qh-radius-pill);
  background: var(--qh-neutral-02);
  color: var(--qh-neutral-04);
  font-size: .78rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.qh-section-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--qh-secondary);
  flex-shrink: 0;
}

.qh-section-badge--active {
  background: rgba(126, 200, 227, 0.15);
  color: var(--qh-text-on-light);
}

.qh-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--qh-neutral-04);
  transition: background-color .2s ease, color .2s ease;
}

.qh-icon-btn:hover {
  background: var(--qh-neutral-02);
  color: var(--qh-primary);
}

.qh-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.qh-nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  border-radius: var(--qh-radius-md);
  background: var(--qh-neutral-02);
  transition: background-color .2s ease;
}

.qh-nav-toggle:hover {
  background: #eaeaea;
}

.qh-nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--qh-text-on-light);
  transition: transform .25s ease, opacity .25s ease;
}

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

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

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

.qh-site-footer {
  margin-top: 96px;
  background: var(--qh-neutral-03);
  color: rgba(255, 255, 255, 0.68);
  font-size: .9rem;
}

.qh-footer-main {
  display: grid;
  grid-template-columns: 2.2fr 1.2fr 1.4fr 1fr;
  gap: 48px;
  padding-block: 60px 44px;
}

.qh-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--qh-font-head);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--qh-text-on-dark);
  text-decoration: none;
}

.qh-footer-brand:hover {
  color: var(--qh-primary);
}

.qh-footer-brand-mark {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--qh-primary);
  box-shadow: 6px -4px 0 -4px var(--qh-secondary);
  flex-shrink: 0;
}

.qh-footer-desc {
  margin-top: 14px;
  max-width: 320px;
  font-size: .88rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.qh-footer-trust {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--qh-radius-md);
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--qh-secondary);
  font-size: .8rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.qh-footer-title {
  margin-bottom: 18px;
  color: var(--qh-text-on-dark);
  font-size: .95rem;
  font-weight: 800;
}

.qh-footer-list li + li {
  margin-top: 10px;
}

.qh-footer-list a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.68);
  font-size: .88rem;
  transition: color .2s ease, transform .2s ease;
}

.qh-footer-list a:hover {
  color: var(--qh-secondary);
  transform: translateX(4px);
}

.qh-footer-contact li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: .85rem;
  line-height: 1.6;
}

.qh-footer-contact li + li {
  margin-top: 10px;
}

.qh-footer-contact li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--qh-secondary);
}

.qh-footer-contact-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.qh-footer-note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: .78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
}

.qh-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 18px;
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.4);
}

.qh-footer-bottom .qh-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1024px) {
  :root {
    --qh-header-h: 60px;
  }

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

  .qh-nav {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    right: 0;
    margin-left: 0;
    padding: 16px 24px 24px;
    background: var(--qh-neutral-01);
    border-radius: 0 0 var(--qh-radius-lg) var(--qh-radius-lg);
    box-shadow: var(--qh-shadow-lg);
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }

  .qh-nav[data-open] {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    max-height: calc(100vh - var(--qh-header-h) - 20px);
    overflow-y: auto;
  }

  .qh-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .qh-nav-link {
    display: block;
    padding: 12px 16px;
    border-radius: var(--qh-radius-md);
  }

  .qh-nav-link[aria-current="page"] {
    box-shadow: inset 4px 0 0 var(--qh-secondary);
  }

  .qh-footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .qh-footer-brand-col {
    grid-column: 1 / -1;
  }

  .qh-grid--2,
  .qh-grid--3,
  .qh-grid--2-1 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .qh-gutter {
    --qh-gutter: 18px;
  }

  .qh-section {
    padding-block: 40px;
  }

  .qh-header-inner {
    gap: 12px;
  }

  .qh-brand-mark {
    width: 36px;
    height: 36px;
  }

  .qh-brand-name {
    font-size: 1.25rem;
  }

  .qh-section-badge {
    display: none;
  }

  .qh-header-actions {
    margin-left: auto;
    gap: 6px;
  }

  .qh-site-footer {
    margin-top: 48px;
  }

  .qh-footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 40px 28px;
  }

  .qh-footer-brand-col {
    grid-column: auto;
  }

  .qh-footer-bottom .qh-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .qh-panel {
    padding: 24px;
  }
}
