:root {
  --brand: #f95755;
  --brand-dark: #d93a38;
  --brand-soft: #fef0ef;
  --ink: #1f2329;
  --ink-2: #5f6672;
  --ink-3: #9aa0aa;
  --bg: #ffffff;
  --bg-soft: #f5f6f7;
  --bg-card: #ffffff;
  --line: #ececec;
  --ok: #34c759;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 3px rgba(31, 35, 41, .05), 0 8px 24px rgba(31, 35, 41, .05);
  --shadow-float: 0 12px 40px rgba(249, 87, 85, .18);
  --header-h: 64px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

.hx-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.hx-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
  z-index: 100;
}
.hx-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 12px rgba(31, 35, 41, .04);
}
.hx-header__in {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.hx-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .5px;
}
.hx-brand img { width: 34px; height: 34px; border-radius: 8px; }
.hx-nav {
  display: flex;
  gap: 22px;
  margin-left: 12px;
  font-size: 15px;
  color: var(--ink-2);
}
.hx-nav a { padding: 4px 2px; transition: color .2s; }
.hx-nav a:hover { color: var(--brand); }
.hx-header__side {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hx-header__models {
  font-size: 13px;
  color: var(--ink-3);
}

.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 34px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.hx-btn:hover { background: var(--brand-dark); box-shadow: var(--shadow-float); }
.hx-btn:active { transform: scale(.97); }
.hx-btn--sm { padding: 9px 22px; font-size: 14px; }
.hx-btn--lg { padding: 16px 46px; font-size: 17px; }
.hx-btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.hx-btn--ghost:hover { background: var(--bg-soft); box-shadow: none; color: var(--ink); }

.hx-hero {
  padding: calc(var(--header-h) + 56px) 0 72px;
  background:
    radial-gradient(ellipse 900px 480px at 85% -10%, rgba(249, 87, 85, .07) 0%, transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hx-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}
.hx-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hx-hero__tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.hx-hero h1 {
  font-size: 42px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 18px;
}
.hx-hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.hx-hero__sub {
  font-size: 17px;
  color: var(--ink-2);
  margin-bottom: 30px;
  max-width: 30em;
}
.hx-hero__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hx-hero__badges {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 26px;
}
.hx-hero__badges li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hx-hero__badges svg { width: 15px; height: 15px; color: var(--ok); flex: none; }
.hx-hero__models {
  font-size: 13.5px;
  color: var(--ink-3);
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  max-width: 34em;
}
.hx-hero__visual { position: relative; }
.hx-hero__shot {
  position: absolute;
  left: -44px;
  bottom: -38px;
  width: 124px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 5px;
  box-shadow: 0 14px 34px rgba(31, 35, 41, .14);
  transform: rotate(-5deg);
  z-index: 0;
}
.hx-switchwall { position: relative; z-index: 1; }
.hx-hero__shot img { border-radius: 12px; width: 100%; height: auto; }

.hx-switchwall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  user-select: none;
}
.hx-sw {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow-card);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.hx-sw:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 87, 85, .35);
  box-shadow: 0 6px 18px rgba(249, 87, 85, .10);
}
.hx-sw__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.hx-sw__name {
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
}
.hx-sw__desc {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
  min-height: 36px;
}
.hx-toggle { position: relative; flex: none; }
.hx-toggle input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  left: 0; top: 0;
  margin: 0;
  cursor: pointer;
}
.hx-toggle i {
  display: block;
  width: 42px; height: 24px;
  border-radius: 999px;
  background: #e3e5e8;
  position: relative;
  transition: background .2s;
}
.hx-toggle i::after {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .2s;
}
.hx-toggle input:checked + i { background: var(--brand); }
.hx-toggle input:checked + i::after { transform: translateX(18px); }
.hx-sw.is-on .hx-sw__name { color: var(--brand); }

.hx-switchwall__note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
  padding-top: 4px;
}

.hx-sec { padding: 84px 0; }
.hx-sec--soft {
  background: var(--bg-soft);
}
.hx-sec__head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.hx-sec__head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.hx-sec__head p { color: var(--ink-2); font-size: 16px; }
.hx-sec__head--left {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}

.hx-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hx-feat {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.hx-feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(249, 87, 85, .3);
}
.hx-feat__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.hx-feat__icon svg { width: 22px; height: 22px; }
.hx-feat h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.hx-feat p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
}

.hx-strip {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0 26px;
}
.hx-strip::-webkit-scrollbar { height: 8px; }
.hx-strip::-webkit-scrollbar-thumb { background: #dcdfe3; border-radius: 999px; }
.hx-strip::-webkit-scrollbar-track { background: transparent; }
.hx-shot {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 280px;
}
.hx-shot__frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px;
  box-shadow: var(--shadow-card);
  transition: transform .25s, box-shadow .25s;
}
.hx-shot.is-active .hx-shot__frame {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px rgba(249, 87, 85, .14);
  border-color: rgba(249, 87, 85, .4);
}
.hx-shot img {
  border-radius: 22px;
  width: 100%;
  height: auto;
}
.hx-shot__cap {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 14px;
}
.hx-shot__cap b { color: var(--ink); }

.hx-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: step;
}
.hx-step {
  position: relative;
  padding: 8px 36px 8px 0;
}
.hx-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 14px; top: 26px;
  width: 28px;
  border-top: 2px dashed #e4c8c7;
}
.hx-step__no {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.hx-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.hx-step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }
.hx-steps__note {
  margin-top: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink-2);
}

.hx-reviews {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 0;
  box-shadow: var(--shadow-card);
}
.hx-review {
  display: flex;
  gap: 14px;
  padding: 18px 26px;
}
.hx-review + .hx-review { border-top: 1px solid #f2f3f5; }
.hx-review__ava {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hx-review__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.hx-review__name { font-size: 15px; font-weight: 700; }
.hx-review__meta { font-size: 12.5px; color: var(--ink-3); }
.hx-review__time { font-variant-numeric: tabular-nums; }
.hx-review__time::before { content: "·"; margin-right: 10px; }
.hx-review__stars { color: var(--brand); font-size: 13px; letter-spacing: 2px; }
.hx-review__body { font-size: 14.5px; color: #3c4148; line-height: 1.8; }

.hx-review:nth-child(5n+1) .hx-review__ava { background: #f95755; }
.hx-review:nth-child(5n+2) .hx-review__ava { background: #4a90d9; }
.hx-review:nth-child(5n+3) .hx-review__ava { background: #34b96f; }
.hx-review:nth-child(5n+4) .hx-review__ava { background: #f0a03c; }
.hx-review:nth-child(5n+5) .hx-review__ava { background: #8a6fd6; }

.hx-faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.hx-faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.hx-faq details[open] { border-color: rgba(249, 87, 85, .35); }
.hx-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.hx-faq summary::-webkit-details-marker { display: none; }
.hx-faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-3);
  transition: transform .2s;
  flex: none;
}
.hx-faq details[open] summary::after {
  content: "−";
  color: var(--brand);
}
.hx-faq details p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.85;
}

.hx-dl {
  background:
    radial-gradient(ellipse 760px 420px at 50% 118%, rgba(249, 87, 85, .10) 0%, transparent 65%),
    var(--bg-soft);
}
.hx-dl__card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 40px 44px;
}
.hx-dl__title {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hx-dl__title img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.hx-dl__title h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .5px;
}
.hx-dl__badge {
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 13px;
  border-radius: 999px;
  letter-spacing: .5px;
}
.hx-dl__meta {
  color: var(--ink-2);
  font-size: 15px;
  margin: 10px 0 18px;
}
.hx-dl__list {
  margin: 0 0 28px;
  padding-left: 22px;
  list-style: disc;
}
.hx-dl__list li {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 10px;
}
.hx-dl__list li:last-child { margin-bottom: 0; }
.hx-dl__hint {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 16px;
}

.hx-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  font-size: 13px;
  color: var(--ink-3);
  background: #fff;
}
.hx-footer__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hx-footer a:hover { color: var(--brand); }
.hx-footer__disc {
  width: 100%;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 4px;
}

.hx-fade { opacity: 1; transform: none; transition: opacity .5s, transform .5s; }
.js .hx-fade { opacity: 0; transform: translateY(18px); }
.js .hx-fade.is-in { opacity: 1; transform: none; }

.hx-doc {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
}
.hx-doc h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 34px 0 12px;
}
.hx-doc h2:first-of-type { margin-top: 8px; }
.hx-doc p, .hx-doc li { color: #3c4148; line-height: 1.85; }
.hx-doc ul, .hx-doc ol { padding-left: 22px; list-style: disc; }
.hx-doc ol { list-style: decimal; }
.hx-doc li { margin-bottom: 6px; }
.hx-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14px;
}
.hx-doc th, .hx-doc td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
  line-height: 1.6;
}
.hx-doc th { background: var(--bg-soft); font-weight: 700; }

@media (max-width: 960px) {
  .hx-hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hx-hero h1 { font-size: 32px; }
  .hx-hero { padding-top: calc(var(--header-h) + 36px); }
  .hx-hero__shot { width: 112px; left: auto; right: -6px; bottom: -22px; }
  .hx-feats { grid-template-columns: repeat(2, 1fr); }
  .hx-steps { grid-template-columns: 1fr; gap: 28px; }
  .hx-step { padding-right: 0; }
  .hx-step:not(:last-child)::after { display: none; }
  .hx-sec { padding: 60px 0; }
}

@media (max-width: 640px) {
  .hx-nav, .hx-header__models { display: none; }
  .hx-hero h1 { font-size: 27px; }
  .hx-hero__sub { font-size: 15.5px; }
  .hx-switchwall { grid-template-columns: repeat(2, 1fr); }
  .hx-sw:nth-child(11), .hx-sw:nth-child(12) { display: none; }
  .hx-hero__shot {
    position: static;
    width: 150px;
    margin: 18px auto 0;
    transform: none;
  }
  .hx-feats { grid-template-columns: 1fr; }
  .hx-sec__head h2 { font-size: 25px; }
  .hx-shot { width: 246px; }
  .hx-review { padding: 16px 18px; }
  .hx-dl__card { padding: 30px 24px; }
  .hx-dl__title h2 { font-size: 24px; }
  .hx-wrap { padding: 0 18px; }
}
