/* 猎鹰安全终端 · 鸿蒙版 专题页（应用市场上架版）20261121 */
.hm-page {
  --hm-blue: #006f9c;
  --hm-blue-dark: #00577b;
  --hm-deep: #102c40;
  --hm-muted: #607080;
  --hm-line: #dfe6eb;
  --hm-soft: #f5f7f9;
  --hm-tint: #eaf3f8;
}

.hm-page main { overflow: clip; }
.hm-page .container { width: min(1180px, calc(100% - 48px)); }
.hm-page main h1,
.hm-page main h2,
.hm-page main h3,
.hm-page main p { margin-top: 0; }
.hm-page :where(main) h2 { font-size: 32px; line-height: 1.4; font-weight: 600; color: var(--hm-deep); }
.hm-page :where(main) h3 { color: var(--hm-deep); font-size: 20px; font-weight: 600; line-height: 1.5; }
.hm-page main ol,
.hm-page main ul { margin: 0; padding: 0; list-style: none; }
.hm-page main dl,
.hm-page main dd { margin: 0; }
.hm-page main figure { margin: 0; }
.hm-page main img { max-width: 100%; height: auto; }
.hm-page [hidden] { display: none !important; }
.hm-page main a:focus-visible { outline: 2px solid var(--hm-blue); outline-offset: 3px; }

/* Buttons */
.hm-page .btn {
  min-height: 46px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid var(--hm-blue);
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  cursor: pointer;
  white-space: normal;
}
.hm-page .btn-primary { background: var(--hm-blue); color: #fff; }
.hm-page .btn-primary:hover,
.hm-page .btn-primary:focus-visible { background: var(--hm-blue-dark); border-color: var(--hm-blue-dark); }
.hm-page .hm-secondary { background: transparent; color: var(--hm-deep); border-color: #c6d3dc; }
.hm-page .hm-secondary:hover,
.hm-page .hm-secondary:focus-visible { background: #fff; border-color: #8fb1c5; color: var(--hm-blue); }
.hm-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hm-text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--hm-blue); font-weight: 500; line-height: 1.7; }
.hm-text-link:hover { text-decoration: underline; }

/* Hero */
.hm-hero { background: linear-gradient(112deg, #eef5f9 0%, #f7fafc 56%, #e4f0f6 100%); border-bottom: 1px solid #dbe8ef; }
.hm-hero-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 56px; padding-top: 30px; padding-bottom: 56px; min-height: 460px; }
.hm-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; font-size: 13px; color: #667d8d; margin: 0 0 28px; }
.hm-breadcrumb a { color: #536f82; }
.hm-breadcrumb a:hover { text-decoration: underline; }
.hm-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.6px; color: var(--hm-blue); margin-bottom: 12px; }
.hm-title-row { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.hm-hero h1 { font-size: 42px; font-weight: 600; line-height: 1.35; margin-bottom: 0; color: var(--hm-deep); letter-spacing: -.8px; }
.hm-launch-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid #9fd3c1; border-radius: 999px; background: #e9f7f1; color: #136b52; font-size: 13px; font-weight: 600; line-height: 1.5; flex-shrink: 0; }
.hm-launch-badge i { font-size: 17px; }
.hm-launch-badge:hover { background: #dcf2e9; border-color: #74c0a6; }
.hm-hero-lead { font-size: 17px; line-height: 1.85; max-width: 600px; color: #3f5c70; margin-bottom: 20px; }
.hm-claim-mark { color: var(--hm-blue); font-weight: 600; padding: 0 2px; text-decoration: none; }
.hm-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.hm-chips span { font-size: 12px; padding: 3px 10px; border: 1px solid #c8dce8; background: rgba(255, 255, 255, .5); border-radius: 3px; color: #46677d; }
.hm-action-note { font-size: 12px; color: #637d8f; line-height: 1.7; margin: 14px 0 0; max-width: 600px; scroll-margin-top: 120px; }

.hm-device { justify-self: center; width: 100%; max-width: 540px; padding: 0 26px; box-sizing: border-box; }
.hm-device-screen { display: block; background: #16222c; border: 10px solid #16222c; border-radius: 14px 14px 5px 5px; box-shadow: 0 24px 60px rgba(23, 60, 91, .18); overflow: hidden; aspect-ratio: 16 / 10; }
.hm-device-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 3px; }
.hm-device-base { height: 14px; margin: 0 -26px; background: linear-gradient(#bfcbd4, #e2e8ec); border-radius: 0 0 30px 30px; box-shadow: 0 16px 24px rgba(23, 60, 91, .1); }
.hm-device figcaption { text-align: center; margin-top: 18px; font-size: 12px; letter-spacing: .5px; color: #718d9e; }

/* In-page navigation */
.hm-anchor-nav { background: #fff; border-bottom: 1px solid var(--hm-line); }
.hm-anchor-nav .container { display: flex; gap: 34px; flex-wrap: wrap; }
.hm-anchor-nav a { display: block; padding: 18px 0 15px; font-size: 14px; border-bottom: 3px solid transparent; color: #53687a; }
.hm-anchor-nav a:hover,
.hm-anchor-nav a.is-current { color: var(--hm-blue); border-color: var(--hm-blue); }

/* Sections */
.hm-section { padding: 68px 0; scroll-margin-top: 100px; }
.hm-section-soft { background: var(--hm-soft); border-top: 1px solid #edf1f4; border-bottom: 1px solid #edf1f4; }
.hm-section-head { margin-bottom: 34px; max-width: 760px; }
.hm-section-head h2 { margin-bottom: 10px; }
.hm-section-head > p:last-child { color: var(--hm-muted); font-size: 15px; line-height: 1.85; margin-bottom: 0; }

/* Get started */
.hm-get-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.hm-steps li { display: flex; gap: 17px; align-items: flex-start; margin: 0 0 24px; }
.hm-steps li:last-child { margin-bottom: 0; }
.hm-steps li > span { font-size: 13px; font-weight: 600; color: var(--hm-blue); background: #edf5f9; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hm-steps h3 { font-size: 17px; margin: 4px 0 4px; }
.hm-steps p { font-size: 14px; color: var(--hm-muted); line-height: 1.8; margin: 0; }
.hm-get-proof { padding: 22px; background: #f8fafb; border: 1px solid #e3ebf0; border-radius: 4px; }
.hm-shot a { display: block; border: 1px solid #dfe6eb; border-radius: 4px; overflow: hidden; background: #fff; }
.hm-shot img { display: block; width: 100%; }
.hm-shot figcaption { margin-top: 10px; font-size: 12px; color: #7b8b98; }
.hm-listing-facts { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; margin-top: 18px !important; padding-top: 16px; border-top: 1px solid #e3ebf0; }
.hm-listing-facts dt { font-size: 12px; color: #7b8b98; margin-bottom: 4px; }
.hm-listing-facts dd { font-size: 14px; font-weight: 500; color: #29485d; line-height: 1.6; }
.hm-callout { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 34px; padding: 20px 26px; background: #f2f8fb; border-left: 3px solid #a9cddd; }
.hm-callout p { font-size: 14px; line-height: 1.8; color: #4a6a80; margin: 0; }
.hm-callout strong { color: var(--hm-deep); margin-right: 6px; }
.hm-callout-actions { display: flex; gap: 8px 24px; flex-wrap: wrap; }

/* Needs */
.hm-need-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hm-need { padding: 28px; background: #fff; border: 1px solid #e0e9ef; border-top: 3px solid #9cc8dc; border-radius: 4px; }
.hm-need > span { display: block; font-size: 12px; letter-spacing: 1px; color: #7a9aae; margin-bottom: 14px; }
.hm-need h3 { font-size: 19px; margin-bottom: 10px; }
.hm-need p { font-size: 14px; color: var(--hm-muted); line-height: 1.9; margin: 0; }
.hm-context-note { margin: 26px 0 0; font-size: 14px; line-height: 1.9; color: #4a6a80; }

/* Native rebuild */
.hm-native-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.hm-map { padding: 26px; background: #f5f8fb; border: 1px solid #e0e9ef; border-radius: 4px; }
.hm-map-head { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); margin-bottom: 14px; }
.hm-map-head span { padding: 8px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; text-align: center; background: #e6ebf0; color: #5a6b79; }
.hm-map-head span:last-child { grid-column: 3; background: var(--hm-blue); color: #fff; }
.hm-map-row { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); align-items: stretch; margin-top: 12px; }
.hm-map-row > i { align-self: center; font-size: 22px; color: #9db9cb; text-align: center; }
.hm-map-old,
.hm-map-new { display: flex; flex-direction: column; justify-content: center; padding: 13px 16px; border-radius: 4px; background: #fff; border: 1px solid #dde5eb; min-width: 0; }
.hm-map-new { background: #eef6fb; border-color: #9fc9df; }
.hm-map-row small { display: block; font-size: 12px; color: #7b8b98; margin-bottom: 2px; }
.hm-map-row strong { display: block; font-size: 15px; font-weight: 600; color: #34495a; line-height: 1.5; overflow-wrap: anywhere; }
.hm-map-new strong { color: #0b5d82; }
.hm-native-points { display: grid; gap: 22px; }
.hm-point { display: flex; gap: 16px; align-items: flex-start; }
.hm-point > i { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 5px; background: var(--hm-tint); color: var(--hm-blue); font-size: 24px; }
.hm-point h3 { font-size: 17px; margin-bottom: 6px; }
.hm-point p { font-size: 14px; color: var(--hm-muted); line-height: 1.85; margin: 0; }

/* Closed loop */
.hm-loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; counter-reset: none; }
.hm-loop li { position: relative; padding: 28px 18px 26px; text-align: center; background: #fff; border: 1px solid #e0e9ef; border-radius: 4px; }
.hm-loop li + li::before { content: ""; position: absolute; left: -24px; top: 50%; width: 12px; height: 12px; border-top: 2px solid #9db9cb; border-right: 2px solid #9db9cb; transform: translateY(-50%) rotate(45deg); }
.hm-loop-icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: var(--hm-blue); color: #fff; font-size: 28px; margin-bottom: 16px; }
.hm-loop h3 { font-size: 19px; margin-bottom: 6px; }
.hm-loop p { font-size: 14px; color: var(--hm-muted); line-height: 1.7; margin: 0; }
.hm-center { margin-top: 26px; padding: 22px 26px; background: #eef6fb; border: 1px solid #c9e1ee; border-radius: 4px; text-align: center; }
.hm-center > p { font-size: 15px; font-weight: 600; color: #1d5d7d; margin-bottom: 14px; }
.hm-center > p strong { display: inline-block; margin-right: 10px; padding: 1px 9px; border-radius: 3px; background: #fff; border: 1px solid #b7d9e9; font-size: 12px; font-weight: 600; color: #126d95; vertical-align: 1px; }
.hm-center ul { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hm-center li { padding: 6px 22px; border: 1px solid #8fc0d8; border-radius: 999px; background: #fff; font-size: 14px; color: #1d5d7d; }

/* Usage modes */
.hm-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 26px; }
.hm-stat { padding: 26px 28px; background: #f5f8fb; border: 1px solid #e0e9ef; border-radius: 4px; }
.hm-stat strong { display: block; font-size: 34px; font-weight: 600; line-height: 1.3; color: var(--hm-blue); }
.hm-stat span { display: block; font-size: 15px; font-weight: 600; color: var(--hm-deep); margin: 2px 0 10px; }
.hm-stat p { font-size: 14px; color: var(--hm-muted); line-height: 1.8; margin: 0; }
.hm-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hm-mode { padding: 28px; border: 1px solid #e0e9ef; border-radius: 4px; background: #fff; }
.hm-mode h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 10px; }
.hm-mode h3 i { font-size: 24px; color: var(--hm-blue); }
.hm-mode p { font-size: 14px; color: var(--hm-muted); line-height: 1.9; margin: 0; }

/* Deployment paths */
.hm-deploy-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.hm-deploy { padding: 30px; background: #fff; border: 1px solid #dfe6eb; border-radius: 4px; }
.hm-deploy-featured { border-color: #8fc0d8; border-top: 3px solid var(--hm-blue); box-shadow: 0 12px 30px rgba(23, 60, 91, .06); }
.hm-deploy-tag { display: inline-block; margin-bottom: 12px !important; padding: 2px 10px; border-radius: 3px; background: var(--hm-blue); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.7; }
.hm-deploy-tag-plain { background: #eef2f5; color: #5a6b79; }
.hm-deploy h3 { font-size: 22px; margin-bottom: 14px; }
.hm-deploy > p:not(.hm-deploy-tag):not(.hm-deploy-flow) { font-size: 14px; color: var(--hm-muted); line-height: 1.9; margin-bottom: 12px; }
.hm-deploy-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px !important; }
.hm-deploy-flow span { padding: 6px 16px; border-radius: 999px; background: #eef6fb; border: 1px solid #b7d9e9; font-size: 14px; font-weight: 600; color: #0b5d82; }
.hm-deploy-flow i { font-size: 20px; color: #8fb1c5; }
.hm-check-list li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.9; color: #3f5c70; margin-bottom: 6px; }
.hm-check-list li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 11px; height: 6px; border-left: 2px solid #1f9c77; border-bottom: 2px solid #1f9c77; transform: rotate(-45deg); }
.hm-deploy .hm-text-link { margin-top: 4px; }

/* Partners */
.hm-partner-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.hm-partner-list li { padding: 24px 20px; background: #f8fafb; border: 1px solid #e3ebf0; border-radius: 4px; }
.hm-partner-list li > span { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--hm-blue); color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.hm-partner-list h3 { font-size: 17px; margin-bottom: 8px; }
.hm-partner-list p { font-size: 13px; color: var(--hm-muted); line-height: 1.85; margin: 0; }

/* Specs */
.hm-specs-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.hm-spec-list { background: #fff; border: 1px solid #dfe6eb; border-radius: 4px; padding: 6px 26px; }
.hm-spec-list > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid #edf1f4; }
.hm-spec-list > div:last-child { border-bottom: 0; }
.hm-spec-list dt { font-size: 13px; color: #7b8b98; line-height: 1.8; }
.hm-spec-list dd { font-size: 14px; color: #29485d; line-height: 1.8; overflow-wrap: anywhere; }
.hm-notes { padding: 26px 28px; background: #fff; border: 1px solid #dfe6eb; border-radius: 4px; }
.hm-notes h3 { font-size: 18px; margin-bottom: 14px; }
.hm-notes ul { margin-bottom: 18px !important; }
.hm-notes li { position: relative; padding-left: 16px; font-size: 13px; line-height: 1.95; color: #59788b; margin-bottom: 8px; }
.hm-notes li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: #9db9cb; }

/* Closing call to action */
.hm-cta { background: #0f3550; color: #fff; }
.hm-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px 40px; flex-wrap: wrap; padding-top: 46px; padding-bottom: 46px; }
.hm-page .hm-cta h2 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.hm-cta p { margin: 0; font-size: 15px; line-height: 1.8; color: #c9dbe7; }
.hm-cta p a { color: #fff; font-weight: 600; white-space: nowrap; }
.hm-cta p a:hover { text-decoration: underline; }
.hm-page .hm-cta-primary { background: #fff; border-color: #fff; color: #0b5d82; }
.hm-page .hm-cta-primary:hover,
.hm-page .hm-cta-primary:focus-visible { background: #e6f1f7; border-color: #e6f1f7; }
.hm-page .hm-cta-secondary { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.hm-page .hm-cta-secondary:hover,
.hm-page .hm-cta-secondary:focus-visible { background: rgba(255, 255, 255, .12); border-color: #fff; }
.hm-page .hm-cta a:focus-visible { outline-color: #fff; }

/* The in-page navigation follows the sticky site header on wider screens. */
@media (min-width: 761px) {
  .hm-anchor-nav { position: sticky; top: 84px; z-index: 60; box-shadow: 0 4px 12px rgba(16, 32, 51, .04); }
  .hm-section { scroll-margin-top: 150px; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .hm-anchor-nav { top: 76px; }
  .hm-section { scroll-margin-top: 142px; }
}

@media (max-width: 1000px) {
  .hm-hero-layout { gap: 30px; }
  .hm-hero h1 { font-size: 35px; }
  .hm-device { padding: 0 18px; }
  .hm-device-base { margin: 0 -18px; }
  .hm-get-layout,
  .hm-native-layout { gap: 32px; }
  .hm-specs-layout { gap: 24px; }
  .hm-loop { gap: 26px; }
  .hm-loop li + li::before { left: -19px; width: 10px; height: 10px; }
  .hm-partner-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-anchor-nav .container { gap: 22px; }
}

@media (max-width: 760px) {
  .hm-page .container { width: calc(100% - 32px); }
  .hm-hero-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 22px; padding-bottom: 36px; gap: 32px; }
  .hm-breadcrumb { margin-bottom: 22px; }
  .hm-hero h1 { font-size: 32px; width: 100%; }
  .hm-hero-lead { font-size: 15px; }
  .hm-hero .hm-actions { align-items: stretch; }
  .hm-device { max-width: 460px; }
  .hm-anchor-nav .container { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .hm-anchor-nav a { font-size: 13px; padding: 13px 0 10px; text-align: center; }
  .hm-section { padding: 44px 0; }
  .hm-page :where(main) h2 { font-size: 26px; }
  .hm-section-head { margin-bottom: 24px; }
  .hm-get-layout,
  .hm-native-layout,
  .hm-specs-layout,
  .hm-deploy-grid,
  .hm-mode-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hm-get-proof { padding: 16px; }
  .hm-callout { padding: 18px 20px; margin-top: 26px; }
  .hm-need-grid,
  .hm-stat-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hm-need { padding: 22px; }
  .hm-map { padding: 18px 14px; }
  .hm-map-head span { font-size: 12px; padding: 7px 6px; }
  .hm-map-old,
  .hm-map-new { padding: 11px 12px; }
  .hm-map-row strong { font-size: 14px; }
  .hm-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .hm-loop li { padding: 22px 12px 20px; }
  .hm-loop li + li::before { display: none; }
  .hm-loop-icon { width: 50px; height: 50px; font-size: 24px; margin-bottom: 12px; }
  .hm-loop h3 { font-size: 17px; }
  .hm-loop p { font-size: 13px; }
  .hm-center { padding: 20px 16px; }
  .hm-center > p strong { display: block; width: fit-content; margin: 0 auto 8px; }
  .hm-center li { padding: 5px 16px; font-size: 13px; }
  .hm-stat { padding: 20px 22px; display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 14px; align-items: center; }
  .hm-stat strong { grid-row: span 2; font-size: 28px; }
  .hm-stat span { margin: 0 0 4px; }
  .hm-mode,
  .hm-deploy { padding: 22px; }
  .hm-deploy h3 { font-size: 20px; }
  .hm-partner-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hm-partner-list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .hm-partner-list li > span { margin-bottom: 0; }
  .hm-spec-list { padding: 4px 18px; }
  .hm-notes { padding: 22px 20px; }
  .hm-cta-inner { padding-top: 36px; padding-bottom: 36px; }
  .hm-page .hm-cta h2 { font-size: 23px; }
}

@media (max-width: 440px) {
  .hm-hero h1 { font-size: 28px; }
  .hm-page .btn { min-height: 46px; padding: 11px 16px; font-size: 14px; }
  .hm-hero .hm-actions .btn,
  .hm-cta .hm-actions .btn { flex: auto; width: 100%; }
  .hm-cta .hm-actions { width: 100%; }
  .hm-listing-facts { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hm-listing-facts > div { display: flex; justify-content: space-between; gap: 16px; }
  .hm-listing-facts dt { margin: 0; }
  .hm-listing-facts dd { text-align: right; }
  .hm-spec-list > div { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
  .hm-deploy-flow span { padding: 5px 12px; font-size: 13px; }
  .hm-callout { flex-direction: column; align-items: flex-start; }
}
