:root {
  --brand: #005bac;
  --brand-deep: #031d44;
  --brand-soft: #e5eef9;
  --ink: #101d31;
  --muted: #637084;
  --paper: #f5f7fa;
  --card: #ffffff;
  --line: rgba(20, 47, 79, 0.12);
  --wechat: #07c160;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 6% 10%, rgba(0, 91, 172, 0.08), transparent 28rem),
    var(--paper);
}

.guide-shell {
  display: grid;
  grid-template-columns: minmax(560px, 1.18fr) minmax(480px, 0.82fr);
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(32px, 4vw, 68px) clamp(48px, 7vw, 116px) 38px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: -13rem;
  bottom: 2.5rem;
  z-index: -1;
  width: 38rem;
  height: 13rem;
  border: 1px solid rgba(0, 91, 172, 0.1);
  border-radius: 50%;
  content: "";
  transform: rotate(-17deg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  place-items: center;
}

.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__name {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.brand__divider {
  width: 1px;
  height: 16px;
  margin-left: 2px;
  background: var(--line);
}

.brand__tag {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.hero__content {
  width: min(650px, 100%);
  margin: auto 0;
  padding: clamp(44px, 8vh, 84px) 0 54px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.22em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.hero h1::after {
  display: inline-block;
  width: 0.19em;
  height: 0.19em;
  margin: 0 0 0.12em 0.13em;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.hero__description {
  max-width: 545px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(0, 91, 172, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #4f6176;
  font-size: 13px;
}

.benefits li::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 575px;
  margin: 46px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #35465c;
  font-size: 14px;
}

.steps li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.steps__number {
  color: var(--brand);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.page-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #697b90;
  font-size: 12px;
}

.page-footer__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9eafc4;
}

.scan-panel {
  position: relative;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 34%),
    var(--brand-deep);
  isolation: isolate;
  place-items: center;
}

.scan-panel::before,
.scan-panel::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.scan-panel::before {
  top: -11rem;
  right: -6rem;
  width: 31rem;
  height: 31rem;
}

.scan-panel::after {
  bottom: -16rem;
  left: -9rem;
  width: 37rem;
  height: 37rem;
}

.scan-panel__glow {
  position: absolute;
  top: 20%;
  left: 50%;
  z-index: -1;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: rgba(0, 123, 225, 0.4);
  filter: blur(90px);
  transform: translateX(-50%);
}

.scan-card {
  width: min(420px, calc(100% - 64px));
  padding: 32px 38px 30px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 86px rgba(0, 10, 28, 0.35);
}

.scan-card__topline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4d5c70;
  font-size: 13px;
  font-weight: 650;
}

.wechat-mark {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #e7faef;
  place-items: center;
}

.wechat-mark svg {
  width: 20px;
  fill: var(--wechat);
}

.scan-card__heading {
  margin: 22px 0 24px;
}

.scan-card__heading h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.035em;
}

.scan-card__heading p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.qr-frame {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  padding: 20px;
  border: 1px solid #e4ebf3;
  border-radius: 22px;
  background: #fff;
  place-items: center;
}

.qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
}

.qr-frame img[hidden],
.qr-placeholder[hidden] {
  display: none;
}

.qr-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--brand);
  border-style: solid;
  pointer-events: none;
}

.qr-corner--tl {
  top: 11px;
  left: 11px;
  border-width: 2px 0 0 2px;
  border-radius: 8px 0 0;
}

.qr-corner--tr {
  top: 11px;
  right: 11px;
  border-width: 2px 2px 0 0;
  border-radius: 0 8px 0 0;
}

.qr-corner--bl {
  bottom: 11px;
  left: 11px;
  border-width: 0 0 2px 2px;
  border-radius: 0 0 0 8px;
}

.qr-corner--br {
  right: 11px;
  bottom: 11px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 8px;
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 1px dashed #c7d5e6;
  border-radius: 14px;
  background: #f5f8fc;
  color: #66798f;
  text-align: center;
}

.qr-placeholder__icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 15px;
  border-radius: 18px;
  background: var(--brand-soft);
  place-items: center;
}

.qr-placeholder__icon svg {
  width: 34px;
  fill: none;
  stroke: var(--brand);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.qr-placeholder strong {
  color: #4b627e;
  font-size: 15px;
}

.qr-placeholder > span:last-child {
  margin-top: 7px;
  font-size: 12px;
}

.qr-status {
  margin: 15px 0 0;
  color: #61748b;
  font-size: 12px;
  text-align: center;
}

.scan-card__tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px -10px -10px;
  padding: 13px;
  border-radius: 13px;
  background: #eef3f9;
  color: #576b83;
  font-size: 12px;
}

.scan-card__tip > span {
  color: var(--brand);
}

.scan-card__tip p {
  margin: 0;
}

@media (max-width: 1100px) {
  .guide-shell {
    grid-template-columns: minmax(500px, 1fr) minmax(420px, 0.82fr);
  }

  .hero {
    padding-right: 54px;
    padding-left: 54px;
  }

  .scan-card {
    width: min(390px, calc(100% - 48px));
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (max-width: 960px) {
  .guide-shell {
    display: block;
    overflow: visible;
  }

  .hero {
    min-height: auto;
    padding: 28px 28px 42px;
  }

  .hero__content {
    margin: 0;
    padding: 68px 0 26px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .page-footer {
    display: none;
  }

  .scan-panel {
    min-height: auto;
    padding: 56px 20px;
  }

  .scan-card {
    width: min(420px, 100%);
  }
}

@media (max-width: 520px) {
  .brand__divider,
  .brand__tag {
    display: none;
  }

  .hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero__content {
    padding-top: 52px;
  }

  .hero h1 {
    letter-spacing: -0.045em;
  }

  .hero__description {
    font-size: 15px;
  }

  .steps li + li {
    padding-left: 12px;
  }

  .scan-panel {
    padding: 42px 14px;
  }

  .scan-card {
    padding: 26px 24px 24px;
    border-radius: 24px;
  }

  .scan-card__heading h2 {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
