/* 恒敏信息官网样式
   颜色：暖白底、深灰字、橙色强调。不加载任何外部字体，国内打开更快。 */

:root {
  --paper: #fbf8f3;
  --paper-2: #f4eee5;
  --card: #ffffff;
  --ink: #26282c;
  --ink-2: #565a62;
  --ink-3: #7c8089;
  --line: #e6dfd3;
  --line-2: #d8cfc1;
  --orange: #f26b1d;
  --orange-ink: #c4470a;
  --orange-btn: #cc4b0a;
  --orange-btn-hover: #b04008;
  --orange-soft: #fff1e6;
  --dark: #26282c;
  --dark-2: #33363b;
  --receipt: #fffdf8;
  --ok: #2e8a55;
  --err: #c0392b;

  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "D-DIN", "Roboto Condensed", "Arial Narrow", var(--font);
  --font-mono: "SFMono-Regular", "Menlo", "Consolas", "Noto Sans Mono CJK SC", "Courier New", monospace;

  --wrap: 1180px;
  --gutter: 20px;
  --radius: 12px;
  --header-h: 64px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

a {
  color: var(--orange-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.num {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
}

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-orange {
  background: var(--orange-btn);
  color: #fff;
}

.btn-orange:hover {
  background: var(--orange-btn-hover);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
}

.btn-line {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-line:hover {
  background: var(--ink);
  color: #fff;
}

.btn-block {
  width: 100%;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* 只在电脑宽度用毛玻璃：手机菜单是 fixed 定位，父元素有 backdrop-filter 会把菜单裁掉 */
@media (min-width: 1100px) {
  @supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
    .site-header {
      background: rgba(251, 248, 243, 0.82);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
    }
  }
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 16px rgba(38, 40, 44, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
  flex: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

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

.nav-list {
  display: flex;
  gap: 4px;
}

.nav-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--ink);
  background: var(--paper-2);
}

.nav-list a.is-active {
  color: var(--ink);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--orange-ink);
}

.header-cta {
  min-height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s, background-color 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1099px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-phone .phone-text,
  .header-cta {
    display: none;
  }

  .header-phone {
    width: 44px;
    height: 44px;
    justify-content: center;
    border-radius: 10px;
    background: var(--orange-soft);
  }

  .header-phone svg {
    width: 20px;
    height: 20px;
  }

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

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    margin: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 12px var(--gutter) 40px;
    overflow-y: auto;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    padding: 15px 4px;
    font-size: 17px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }

  .nav-list a:hover {
    background: transparent;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--paper-2);
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(26px, 4.2vw, 38px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.section-head p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 17px;
}

.note {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.7;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

/* ---------- 首屏 ---------- */
.hero {
  padding: 40px 0 56px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-tags span {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange-ink);
  border: 1px solid #f8cfae;
}

.hero-tags span + span {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line-2);
}

.hero h1 {
  font-size: clamp(32px, 7.4vw, 56px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-sub {
  margin-top: 18px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--ink-2);
  max-width: 32em;
}

.hero-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
  max-width: 460px;
}

.price-stub {
  position: relative;
  display: block;
  padding: 14px 16px 16px;
  background: var(--card);
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s;
}

.price-stub:hover {
  border-color: var(--ink);
}

/* 票根上的半圆缺口 */
.price-stub::before,
.price-stub::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line-2);
}

.price-stub::before {
  left: -8px;
  clip-path: inset(0 0 0 50%);
}

.price-stub::after {
  right: -8px;
  clip-path: inset(0 50% 0 0);
}

.price-stub:hover::before,
.price-stub:hover::after {
  border-color: var(--ink);
}

.price-stub-name {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
}

.price-stub-amount {
  display: block;
  margin-top: 2px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}

.price-stub-amount small {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  margin-left: 2px;
}

.price-stub-for {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
}

.price-stub-dine .price-stub-amount {
  color: var(--orange-ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-actions .btn {
  min-width: 140px;
}

.hero-regions {
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-3);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.hero-regions svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex: none;
  color: var(--orange);
}

/* 设备示意图 */
.devices {
  position: relative;
  padding: 0 0 18% 8%;
}

.device-tablet {
  position: relative;
  background: #1c1e21;
  border-radius: 20px;
  padding: 2.2%;
  box-shadow: 0 30px 60px -20px rgba(38, 40, 44, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.device-tablet img,
.device-tablet picture {
  border-radius: 10px;
  width: 100%;
}

.device-phone {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 29%;
  background: #1c1e21;
  border-radius: 28px;
  padding: 1.6% 1.6%;
  box-shadow: 0 24px 40px -12px rgba(38, 40, 44, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.device-phone picture,
.device-phone img {
  border-radius: 22px;
  width: 100%;
}

.device-label {
  position: absolute;
  z-index: 2;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  padding: 5px 11px;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(38, 40, 44, 0.18);
}

.device-label-tablet {
  right: 14px;
  top: -14px;
  background: var(--ink);
  color: #fff;
}

.device-label-phone {
  left: 50%;
  top: -16px;
  transform: translateX(-50%);
  background: var(--orange-btn);
  color: #fff;
}

@media (max-width: 520px) {
  .device-label {
    font-size: 11.5px;
    padding: 4px 8px;
  }
}

.device-tag {
  position: absolute;
  right: 4%;
  bottom: 4%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 18px rgba(38, 40, 44, 0.08);
}

.device-tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}

@media (min-width: 960px) {
  .hero {
    padding: 56px 0 80px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 48px;
  }

  .devices {
    margin-right: -40px;
  }
}

/* ---------- 产品功能：界面切换 ---------- */
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  margin: 0 -2px 18px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.tab {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  background: var(--card);
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.tab:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.tab[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.tab-panel {
  display: grid;
  gap: 28px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
}

.tab-panel h3 {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
}

.tab-panel .lead {
  margin-top: 10px;
  font-size: 16.5px;
  color: var(--ink);
}

.tab-points {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.tab-points li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 15px;
}

.tab-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--orange);
}

.plan-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-tag {
  font-size: 13px;
  border-radius: 6px;
  padding: 3px 10px;
  background: var(--paper-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}

.plan-tag-dine {
  background: var(--orange-soft);
  border-color: #f8cfae;
  color: var(--orange-ink);
}

.shots {
  position: relative;
  min-width: 0;
}

.shots img {
  width: 100%;
}

.shot-wide {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px -18px rgba(38, 40, 44, 0.35);
}

.shot-phone {
  border-radius: 22px;
  overflow: hidden;
  border: 5px solid #1c1e21;
  background: #1c1e21;
  box-shadow: 0 18px 30px -14px rgba(38, 40, 44, 0.45);
}

.shot-phone img {
  border-radius: 17px;
}

.shots-phones {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.shots-phones .shot-phone {
  scroll-snap-align: start;
}

.shots-phones figcaption,
.shot-caption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}

/* 宽图 + 叠放手机 */
.shots-mixed {
  padding-right: 14%;
  padding-bottom: 10%;
}

.shots-mixed .shot-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
}

.shots-mixed .shot-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 36%;
  border-radius: 10px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 16px 30px -12px rgba(38, 40, 44, 0.5);
}

.viewer-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
}

@media (min-width: 960px) {
  .tab-panel {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: 40px;
    padding: 36px;
  }

  .shots-phones {
    overflow: visible;
  }
}

/* 功能清单 */
.feature-list {
  margin-top: 48px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-2);
}

.feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: span 2;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.feature h3 .plan-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 0 8px;
}

.feature p {
  color: var(--ink-2);
  font-size: 15px;
}

@media (min-width: 720px) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
}

@media (min-width: 1040px) {
  .feature-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ---------- 适用门店 ---------- */
.stores {
  display: grid;
  gap: 16px;
}

.store {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 16px;
  padding: 22px 20px;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--line);
}

.store-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: span 3;
}

.store-icon svg {
  width: 30px;
  height: 30px;
}

.store h3 {
  font-size: 20px;
  font-weight: 800;
}

.store p {
  color: var(--ink-2);
  font-size: 15px;
}

.store-plan {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--orange-ink);
  justify-self: start;
}

.store-plan:hover {
  text-decoration: underline;
}

@media (min-width: 760px) {
  .stores {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 使用示例 ---------- */
.cases {
  display: grid;
  gap: 20px;
}

.case {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.case-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.case-media-phone {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 22px;
  background: linear-gradient(160deg, #efe6d9, #e2d6c6);
}

.case-media-phone picture {
  width: 46%;
  height: auto;
}

.case-media-phone img {
  width: 100%;
  height: auto;
  border-radius: 18px 18px 0 0;
  border: 5px solid #1c1e21;
  border-bottom: 0;
  box-shadow: 0 10px 24px -8px rgba(38, 40, 44, 0.45);
}

.case-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 6px;
  padding: 3px 10px;
}

.case-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-body h3 {
  font-size: 21px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.case-body h3 small {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
}

.case-body p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.chips li {
  font-size: 13px;
  background: var(--paper-2);
  border-radius: 6px;
  padding: 2px 9px;
  color: var(--ink-2);
}

.case-plan {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed var(--line-2);
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-3);
}

.case-plan b {
  color: var(--ink);
  font-size: 16px;
}

.case-plan a {
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.case-plan a:hover {
  text-decoration: underline;
}

.cases-note {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--card);
  border: 1px dashed var(--line-2);
  font-size: 14px;
  color: var(--ink-2);
}

@media (min-width: 760px) {
  .cases {
    grid-template-columns: 1fr 1fr;
  }
}

/* 更多门店配置示例 */
.clients {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line-2);
}

.clients-head h3 {
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 800;
  line-height: 1.35;
}

.clients-head p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15.5px;
}

.client-grid {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.client-city {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 6px;
}

.client-city h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--orange-ink);
}

.client-city h4 svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.client {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.client-city h4 + ul .client:first-child {
  margin-top: 10px;
}

.client b {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.45;
}

.client-type {
  align-self: start;
  margin-top: 2px;
  font-size: 12.5px;
  white-space: nowrap;
  background: var(--paper-2);
  color: var(--ink-2);
  border-radius: 6px;
  padding: 1px 8px;
}

.client-uses {
  grid-column: 1 / -1;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .client-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1040px) {
  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 价格（小票样式） ---------- */
.pricing {
  background: var(--dark);
  color: #f3f1ed;
}

.pricing .section-head p {
  color: #c9c6c0;
}

.receipts {
  display: grid;
  gap: 32px;
  align-items: start;
}

.receipt-wrap {
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.35));
}

.receipt {
  position: relative;
  background: var(--receipt);
  color: var(--ink);
  padding: 30px 26px 44px;
  /* 小票下沿的锯齿 */
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%;
}

.receipt-top {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 1px;
}

.receipt h3 {
  margin-top: 6px;
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 6px;
}

.receipt-for {
  margin-top: 8px;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-2);
}

.receipt-rule {
  border: 0;
  border-top: 2px dashed #b9b2a6;
  margin: 20px 0 14px;
}

.receipt-items li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  font-size: 15.5px;
}

.receipt-items li::after {
  content: "";
  order: 2;
  flex: 1;
  border-bottom: 1.5px dotted #c9c2b6;
  transform: translateY(-4px);
}

.receipt-items li span {
  order: 1;
}

.receipt-items li i {
  order: 3;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ok);
  font-weight: 700;
}

.receipt-items li.is-base span {
  font-weight: 700;
}

.receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 4px;
}

.receipt-total span {
  font-size: 15px;
  color: var(--ink-2);
}

.receipt-total b {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--orange-ink);
}

.receipt-total b small {
  font-family: var(--font);
  font-size: 20px;
  margin-left: 4px;
}

.receipt-unit {
  text-align: right;
  font-size: 12.5px;
  color: var(--ink-3);
}

.receipt .btn {
  margin-top: 20px;
}

.receipt-stamp {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2.5px solid rgba(204, 75, 10, 0.75);
  color: rgba(204, 75, 10, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 1px;
  transform: rotate(-14deg);
  box-shadow: inset 0 0 0 4px var(--receipt), inset 0 0 0 5.5px rgba(204, 75, 10, 0.55);
}

.pricing-notes {
  margin-top: 40px;
  display: grid;
  gap: 14px;
  font-size: 15px;
  color: #d6d3cd;
  max-width: 820px;
}

.pricing-notes p {
  padding-left: 16px;
  border-left: 3px solid var(--orange);
}

.pricing-notes a {
  color: #ffb489;
}

@media (min-width: 820px) {
  .receipts {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 960px;
  }

  .receipt-wrap-dine {
    transform: translateY(-14px);
  }
}

/* ---------- 上线流程 ---------- */
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 22px 20px 22px 76px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.step-no {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange-btn);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}

.step h3 {
  font-size: 18px;
  font-weight: 800;
}

.step p {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 15px;
}

.steps-note {
  margin-top: 18px;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
  }

  .step {
    border: 0;
    border-radius: 0;
    padding: 28px 24px 30px;
  }

  .step + .step {
    border-left: 1px solid var(--line);
  }

  .step-no {
    position: static;
    margin-bottom: 14px;
  }
}

/* ---------- 常见问题 ---------- */
.faq {
  max-width: 860px;
  border-top: 1px solid var(--line-2);
}

.faq details {
  border-bottom: 1px solid var(--line-2);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 2px;
  font-size: 17px;
  font-weight: 700;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-3px, -3px);
}

.faq .answer {
  padding: 0 2px 20px;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 46em;
}

.faq .answer p + p {
  margin-top: 8px;
}

/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  gap: 32px;
}

.contact-intro {
  font-size: 17px;
  color: var(--ink);
}

.contact-info {
  margin-top: 22px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.contact-info div {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}

.contact-info dt {
  color: var(--ink-3);
}

.contact-info dd {
  font-weight: 600;
  word-break: break-all;
}

.contact-info a {
  color: var(--ink);
}

.qr-card {
  margin-top: 24px;
  display: block;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
}

.qr-card img {
  width: min(100%, 280px);
  height: auto;
  margin: 0 auto 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.qr-card b {
  display: block;
  font-size: 16px;
}

.qr-card p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.65;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 20px;
}

.form-card h3 {
  font-size: 21px;
  font-weight: 800;
}

.form-card > p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-3);
}

.form-grid {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.field label,
.field legend {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 6px;
  padding: 0;
}

.field .req {
  color: var(--err);
  margin-left: 2px;
}

.field .opt {
  color: var(--ink-3);
  font-weight: 400;
  font-size: 13px;
  margin-left: 4px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23565a62' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(242, 107, 29, 0.25);
}

.field.has-error input,
.field.has-error select,
.field.has-error .choice-group {
  border-color: var(--err);
}

.field-error {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: var(--err);
  min-height: 0;
}

fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.choice-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: 12px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 6px 10px;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  font-size: 15px;
  text-align: center;
  line-height: 1.35;
  cursor: pointer;
  background: #fff;
}

.choice input:checked + span {
  border-color: var(--orange-btn);
  background: var(--orange-soft);
  color: var(--orange-ink);
  font-weight: 700;
}

.choice input:focus-visible + span {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.field label.agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
  cursor: pointer;
}

.field .agree input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 3px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  -webkit-appearance: checkbox;
  appearance: auto;
  accent-color: var(--orange-btn);
  flex: none;
}

.field.has-error .agree input[type="checkbox"] {
  outline: 2px solid var(--err);
  outline-offset: 1px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.7;
}

.form-status.is-ok {
  background: #eaf6ef;
  color: #1f6a40;
  border: 1px solid #bfe2cd;
}

.form-status.is-fail {
  background: var(--orange-soft);
  color: #7a3507;
  border: 1px solid #f8cfae;
}

.form-status a {
  color: inherit;
  font-weight: 700;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid .span-2 {
    grid-column: span 2;
  }

  .choice-group {
    grid-template-columns: repeat(4, 1fr);
  }

  .form-card {
    padding: 32px;
  }
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
  }
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--dark);
  color: #c9c6c0;
  padding: 40px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
}

.footer-company {
  margin-top: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.site-footer a {
  color: #e9e6e1;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-meta {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #3c3f45;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: #a19e98;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

/* ---------- 手机底部操作栏 ---------- */
.mobile-bar {
  display: none;
}

@media (max-width: 759px) {
  body.has-mobile-bar {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(251, 248, 243, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 16px rgba(38, 40, 44, 0.06);
  }

  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    background: var(--card);
    border: 1.5px solid var(--line-2);
  }

  .mobile-bar a.is-main {
    background: var(--orange-btn);
    border-color: var(--orange-btn);
    color: #fff;
  }

  .mobile-bar svg {
    width: 18px;
    height: 18px;
  }

  .section {
    padding: 56px 0;
  }
}

/* ---------- 隐私政策、服务条款、404 ---------- */
.doc {
  padding: 40px 0 72px;
}

.doc-inner {
  max-width: 780px;
}

.doc h1 {
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 800;
  line-height: 1.3;
}

.doc .doc-meta {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 14px;
}

.doc h2 {
  margin-top: 36px;
  font-size: 21px;
  font-weight: 800;
}

.doc p,
.doc li {
  margin-top: 10px;
  color: var(--ink-2);
}

.doc ul {
  padding-left: 1.3em;
  list-style: disc;
}

.doc ol {
  padding-left: 1.3em;
  list-style: decimal;
}

.doc table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 15px;
}

.doc th,
.doc td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.doc th {
  background: var(--paper-2);
  font-weight: 700;
}

.doc th,
.doc td:not(:last-child) {
  white-space: nowrap;
}

.doc .back {
  display: inline-flex;
  margin-top: 40px;
}

.simple-header .header-inner {
  justify-content: space-between;
}

.simple-header .home-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.simple-header .home-link:hover {
  text-decoration: underline;
}

.not-found {
  min-height: calc(100vh - var(--header-h) - 160px);
  display: flex;
  align-items: center;
  padding: 56px 0;
}

.not-found-inner {
  max-width: 560px;
}

.not-found .code {
  font-size: 88px;
  line-height: 1;
  font-weight: 800;
  color: var(--orange-ink);
}

.not-found h1 {
  margin-top: 14px;
  font-size: 28px;
  font-weight: 800;
}

.not-found p {
  margin-top: 10px;
  color: var(--ink-2);
}

.not-found .actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header,
  .mobile-bar,
  .form-card,
  .tabs {
    display: none !important;
  }

  body {
    background: #fff;
    padding: 0;
  }
}
