/* ==========================================================================
   湘湘到家门户 · 视觉系统
   亮色默认 + 品牌蓝（sky-700）/ 橙 / 绿点缀；实底卡片；克制动效、无发光。
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

/* 防横向滚动：clip 优于 hidden —— 不创建滚动容器，不影响 position: fixed/sticky */
html,
body {
  overflow-x: clip;
}

/* ---------- 色彩令牌 · 亮色（默认） ---------- */
:root,
[data-theme="light"] {
  --bg: #F6F9FC;
  --bg-soft: #EEF3F8;
  --panel: rgba(255, 255, 255, .94);
  --panel-solid: #FFFFFF;
  --input-bg: #FFFFFF;
  --text: #0C1A2B;
  --muted: #44586C;
  --subtle: #5A6D85;
  --line: rgba(11, 30, 51, .10);
  --line-strong: rgba(11, 30, 51, .20);
  --accent: #0369A1;
  --accent-strong: #075985;
  --gradient: linear-gradient(120deg, #075985 0%, #0A7DB8 100%);
  --btn-fg: #FFFFFF;
  --green: #4D7C0F;
  --orange: #B45309;
  --purple: #B45309;              /* 别名：logo 无紫色，映射为品牌橙 */
  --red: #B42318;
  --success: #15803D;
  --focus: #0369A1;
  --focus-ring: rgba(3, 105, 161, .16);
  --shadow-sm: 0 1px 2px rgba(15, 39, 66, .06);
  --shadow-soft: 0 6px 18px rgba(15, 39, 66, .08);
  --shadow: 0 18px 44px rgba(15, 39, 66, .10);
  --btn-shadow: 0 8px 22px rgba(7, 89, 133, .22);
  --btn-shadow-hover: 0 10px 28px rgba(7, 89, 133, .30);
  --header-bg: rgba(246, 249, 252, .86);
  --qr-bg: #FFFFFF;
  --tag-bg: #FFFFFF;
  --glow-cyan: rgba(3, 105, 161, .06);
  --glow-purple: rgba(30, 156, 215, .05);
}

/* ---------- 色彩令牌 · 深色（仅手动切换） ---------- */
[data-theme="dark"] {
  --bg: #0C1522;
  --bg-soft: #091120;
  --panel: rgba(19, 30, 46, .72);
  --panel-solid: #121D2D;
  --input-bg: rgba(5, 12, 22, .60);
  --text: #E6EEF7;
  --muted: #A3B4C8;
  --subtle: #7C8FA6;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .22);
  --accent: #5BC0EC;
  --accent-strong: #8AD5F5;
  --gradient: linear-gradient(120deg, #0284C7 0%, #38BDF8 100%);
  --btn-fg: #04121E;
  --green: #A3D65C;
  --orange: #F0A860;
  --purple: #F0A860;
  --red: #F19993;
  --success: #8FDD7B;
  --focus: #5BC0EC;
  --focus-ring: rgba(92, 192, 236, .18);
  --shadow: 0 24px 60px rgba(0, 0, 0, .40);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, .28);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .30);
  --btn-shadow: 0 8px 22px rgba(2, 132, 199, .28);
  --btn-shadow-hover: 0 10px 28px rgba(2, 132, 199, .38);
  --header-bg: rgba(12, 21, 34, .78);
  --qr-bg: #FFFFFF;
  --tag-bg: rgba(255, 255, 255, .04);
  --glow-cyan: rgba(2, 132, 199, .12);
  --glow-purple: rgba(56, 189, 248, .09);
}

/* 亮色模式下的专属微调：毛玻璃只留给页头，卡片与面板走实底，避免浅色下发脏 */
[data-theme="light"] .glass-card,
[data-theme="light"] .product-next,
[data-theme="light"] .qr-card {
  background: #FFFFFF;
}

[data-theme="light"] .hero-aura {
  background:
    radial-gradient(circle at 50% 50%, var(--glow-cyan), transparent 60%),
    radial-gradient(circle at 65% 40%, var(--glow-purple), transparent 64%);
  filter: blur(24px);
}

[data-theme="light"] .brand-orb {
  box-shadow: var(--shadow);
}

[data-theme="light"] .founder-section {
  background: linear-gradient(180deg, transparent 0%, rgba(3, 105, 161, .04) 100%);
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 480px at 88% -4%, var(--glow-purple), transparent 62%),
    radial-gradient(760px 460px at 3% 2%, var(--glow-cyan), transparent 58%);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* skip-link 落点：程序性聚焦不出现外框 */
main[tabindex="-1"]:focus {
  outline: none;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

svg {
  display: block;
}

::selection {
  background: var(--accent-strong);
  color: #06131A;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-software,
.section-contact {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
}

.section-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.section-head {
  max-width: 730px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin: 12px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: .01em;
  font-weight: 700;
}

.section-lead {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  text-wrap: balance;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: box-shadow .2s ease-out, background-color .2s ease-out,
              border-color .2s ease-out, color .2s ease-out, filter .2s ease-out;
}

/* 禁用 / 进行中：不位移、不跳动，靠 opacity + cursor 表达 */
.btn[disabled],
.btn[aria-disabled="true"] {
  cursor: progress;
  opacity: .72;
  filter: saturate(.85);
  box-shadow: none;
  pointer-events: none;
}

.btn-submit[aria-busy="true"]::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: 2px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: var(--gradient);
  color: var(--btn-fg);
  box-shadow: var(--btn-shadow);
}

.btn-primary:hover {
  box-shadow: var(--btn-shadow-hover);
  filter: brightness(1.06);
}

.btn-ghost {
  background: var(--panel);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(3, 105, 161, .05);
}

[data-theme="dark"] .btn-ghost:hover {
  background: rgba(92, 192, 236, .10);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-quiet {
  background: transparent;
  color: var(--muted);
  padding: 0 10px;
}

.btn-card {
  width: 100%;
  margin-top: auto;
}

.btn-submit {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
}

.btn:focus-visible,
.icon-btn:focus-visible,
.text-link:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* hover 态统一收口：避免移动端点击后 sticky hover 残留；hover 不位移，只加深边框与阴影 */
@media (hover: hover) {
  .btn-primary:hover {
    box-shadow: var(--btn-shadow-hover);
    filter: brightness(1.06);
  }
  .btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(3, 105, 161, .05);
  }
  [data-theme="dark"] .btn-ghost:hover {
    background: rgba(92, 192, 236, .10);
  }
}

/* ---------- 页头 ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}

.site-header.is-scrolled {
  background: var(--header-bg);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  padding: 2px;
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.brand-text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.1;
}

/* 纯英文小标签：视觉规范 §3「最小 12px」约束的是中文正文，此处按 4.6-③ 取 9.5px */
.brand-en {
  display: block;
  margin-top: 4px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--subtle);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

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

.nav-list a {
  position: relative;
  font-size: 14px;
  color: var(--muted);
  transition: color .2s ease;
  padding: 8px 0;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--text);
}

.nav-list a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

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

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="dark"] .icon-moon,
[data-theme="light"] .icon-sun {
  display: none;
}

.theme-toggle svg {
  transition: opacity .2s ease;
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 3px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 148px 0 88px;
  overflow: hidden;
}

.hero-aura {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--glow-cyan), transparent 58%),
    radial-gradient(circle at 65% 40%, var(--glow-purple), transparent 62%);
  filter: blur(24px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr);
  align-items: center;
  gap: 40px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: none;              /* 视觉规范 §6：禁止发光型阴影 */
}

.hero h1 {
  margin: 20px 0 24px;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.22;
  letter-spacing: 0;             /* 中文标题禁止负字距 */
  font-weight: 700;
}

/* 渐变文字单独走深一档色标：#0A7DB8 在 #F6F9FC 上仅 4.31:1，#066E9C 为 5.38:1 */
.gradient-text {
  background: linear-gradient(120deg, #075985 0%, #066E9C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="dark"] .gradient-text {
  background: linear-gradient(120deg, #7DD3F0 0%, #A5E4F9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  width: 340px;
  height: 340px;
  justify-self: center;
  flex-shrink: 0;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  pointer-events: none;
}

.orbit-one {
  inset: 2%;
}

.orbit-two {
  inset: 16%;
  border-style: dashed;
  border-color: var(--line-strong);
  opacity: .75;
}

.brand-orb {
  position: absolute;
  inset: 22%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: breathe 7s ease-in-out infinite;
}

.brand-orb img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.float-chip {
  position: absolute;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--panel-solid);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.chip-1 { top: 4%; left: 6%; animation: float 6.5s ease-in-out infinite; }
.chip-2 { top: 24%; right: 0; animation: float 7.5s ease-in-out infinite .8s; }
.chip-3 { bottom: 24%; left: 0; animation: float 8s ease-in-out infinite 1.4s; }
.chip-4 { bottom: 4%; right: 8%; animation: float 7s ease-in-out infinite .4s; }
.chip-5 { top: 47%; right: -4%; animation: float 8.5s ease-in-out infinite 1.2s; }
.chip-6 { top: 47%; left: -4%; animation: float 7.8s ease-in-out infinite .6s; }

/* ---------- 能力带 ---------- */

.capability-bar {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.capability-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  font-size: 12px;
  letter-spacing: .07em;
  color: var(--muted);
}

.capability-track i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .65;
}

/* ---------- 关于 ---------- */

.about-main {
  padding-top: 4px;
}

.about-main p {
  max-width: 650px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 14px;
}

.about-lead {
  font-size: 17px !important;
  line-height: 1.8;
  color: var(--text) !important;
}

.about-lead strong,
.about-main strong {
  color: var(--text);
  font-weight: 700;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.facts > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--subtle);
}

.facts dd {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.glass-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.card-icon,
.product-icon,
.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(3, 105, 161, .08);
  color: var(--accent);
}

[data-theme="dark"] .card-icon,
[data-theme="dark"] .product-icon,
[data-theme="dark"] .service-icon {
  background: rgba(92, 192, 236, .12);
}

.card-icon svg,
.product-icon svg,
.service-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* logo 无紫色：.icon-purple 重映射为品牌橙 */
.icon-purple {
  background: rgba(180, 83, 9, .08);
  color: var(--orange);
}

[data-theme="dark"] .icon-purple {
  background: rgba(240, 168, 96, .14);
}

.icon-green {
  background: rgba(77, 124, 15, .10);
  color: var(--green);
}

[data-theme="dark"] .icon-green {
  background: rgba(163, 214, 92, .14);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.principle-list li {
  padding-top: 16px;
  border-top: 2px solid var(--line-strong);
}

.principle-list span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
}

.principle-list strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 15px;
  line-height: 1.4;
}

.principle-list p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 免费软件 ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  transition: border-color .2s ease-out, box-shadow .2s ease-out;
}

.product-next {
  border: 1px dashed var(--line-strong);
  background: rgba(19, 30, 46, .32);
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* 「内测中 / 筹备中」状态徽章：纯 CSS 生成，零 DOM 改动 */
.product-top::after {
  /*
  content: "内测中";
  */
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  background: rgba(180, 83, 9, .10);
  color: var(--orange);
}

[data-theme="dark"] .product-top::after {
  background: rgba(240, 168, 96, .16);
}

.product-next .product-top::after {
  /*
  content: "筹备中";
  */
}

.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.status-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status-beta { background: rgba(180, 83, 9, .10); color: var(--orange); }
.status-plan { background: rgba(180, 83, 9, .10); color: var(--orange); }
[data-theme="dark"] .status-beta,
[data-theme="dark"] .status-plan { background: rgba(240, 168, 96, .16); }

.product-card h3 {
  margin: 20px 0 8px;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: .01em;
  font-weight: 700;
}

.product-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.product-features {
  margin: 16px 0 20px;
  font-size: 13px;
  color: var(--muted);
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
}

.product-features li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------- 服务 ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  transition: border-color .2s ease-out, box-shadow .2s ease-out;
}

.service-card h3 {
  margin: 20px 0 8px;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: .01em;
  font-weight: 700;
}

.service-card > p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 20px;
}

.tag-list li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
  color: var(--muted);
  background: var(--tag-bg);
  box-shadow: var(--shadow-sm);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.text-link:hover {
  color: var(--accent-strong);
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.process-list li {
  padding-top: 14px;
  border-top: 2px solid var(--line-strong);
}

.process-list span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
}

.process-list strong {
  display: block;
  margin: 6px 0 4px;
  font-size: 15px;
  line-height: 1.4;
}

.process-list p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 创始人 ---------- */

.founder-section {
  background: linear-gradient(180deg, transparent 0%, rgba(3, 105, 161, .045) 100%);
  border-top: 1px solid var(--line);
}

.founder-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 28px 30px;
}

.founder-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.founder-avatar {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--btn-fg);
  font-size: 28px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.founder-title h2 {
  margin: 2px 0 2px;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: .01em;
  font-weight: 700;
}

.founder-title p {
  font-size: 13px;
  color: var(--muted);
}

.founder-bio {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
  text-wrap: pretty;
}

.founder-bio strong {
  color: var(--text);
  font-weight: 700;
}

.founder-card blockquote {
  margin: 22px 0;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
  color: var(--text);
  text-wrap: pretty;
}

.founder-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.founder-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.founder-card .btn {
  margin-top: 4px;
}

/* ---------- 联系 ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;        /* ④ 两卡等高，底边与二维码面板对齐 */
}

.contact-panel {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
}

.panel-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.panel-head h3 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: .01em;
  font-weight: 700;
}

.panel-head p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--subtle);
}

.qr-grid {
  flex: 0 1 auto;              /* ② 不撑满剩余高度 */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;        /* ② 顶对齐，剩余空间不再变成上下居中的空洞 */
}

.qr-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 8px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
  text-align: center;
  transition: border-color .2s ease-out, box-shadow .2s ease-out;
}

.qr-card img {
  display: block;
  /* ③ 固定合理尺寸，不再被 width:100% 撑开整卡 */
  width: min(72%, 124px);
  height: auto;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 3px;
  border-radius: 10px;
  background: var(--qr-bg);
  box-shadow: var(--shadow-sm);
}

.qr-label {
  display: block;
  padding: 6px 2px 0;
}

.qr-label strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
}

.qr-label small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--subtle);
  line-height: 1.5;
  /* 副标一行，保证两卡等高 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-form-wrap {
  display: flex;
  padding: 20px 24px;
}

/* 表单整体撑满卡片：把多余高度只留给「需求描述」文本框，避免出现整条空白带 */
.contact-form-wrap form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.field {
  margin-bottom: 12px;
}

/* 称呼 + 联系方式 并排一行，压缩表单高度 */
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field label,
.hp-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--input-bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}

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

/* 需求描述：占满卡片剩余高度，多余空白全部消化在输入框里 */
.field--message {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.field--message textarea {
  flex: 1 1 auto;
  min-height: 64px;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--subtle);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .10);
}

[data-theme="dark"] .field.is-invalid input,
[data-theme="dark"] .field.is-invalid select,
[data-theme="dark"] .field.is-invalid textarea {
  box-shadow: 0 0 0 3px rgba(241, 153, 147, .14);
}

/* 校验提示：默认高度为 0，只有出现错误文案时才占位 —— 不再给每个字段预留空白带 */
.field-error {
  font-size: 12px;
  line-height: 1.5;
  color: var(--red);
}

.field-error:not(:empty) {
  margin-top: 4px;
}

/* 蜜罐字段：视觉隐藏但不移除，不依赖 overflow-x 兜底 */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
}

/* 同意 + 提交：并排一行，省掉一整行高度和按钮下方的空白带 */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.consent-block {
  flex: 1 1 auto;
  min-width: 0;
}

.form-actions .consent {
  margin-top: 0;
}

.form-actions .btn-submit {
  width: auto;
  min-width: 132px;
  margin-top: 0;
  flex-shrink: 0;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  cursor: pointer;
}

.consent.is-invalid {
  color: var(--red);
}

.consent input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--accent-strong);
}

/* 表单状态：默认不占位，出结果时才出现 */
.form-status {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.form-status:not(:empty) {
  margin-top: 10px;
}

.form-status.is-pending {
  color: var(--muted);
}

.form-status.is-success {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(21, 128, 61, .08);
  border: 1px solid rgba(21, 128, 61, .22);
  color: var(--success);
  font-weight: 600;
}

[data-theme="dark"] .form-status.is-success {
  background: rgba(143, 221, 123, .10);
  border-color: rgba(143, 221, 123, .28);
}

.form-status.is-success::before {
  content: "✓";
  font-weight: 700;
  flex-shrink: 0;
}

.form-status.is-error {
  color: var(--red);
}

/* 底部说明：贴到卡片底边（margin-top:auto 吃掉剩余空间） */
.form-privacy {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.65;
  color: var(--subtle);
}

/* JS 未接管表单时的兜底提示（渐进增强开关） */
form:not([data-enhanced="true"]) .form-privacy::after {
  content: "当前页面脚本未加载完成，您也可以直接微信扫码联系我们。";
  display: block;
  margin-top: 8px;
  color: var(--orange);
}

form[data-enhanced="true"] .form-privacy::after {
  content: none;
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 34px 0 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.footer-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.footer-brand p:last-child {
  margin-top: 1px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--subtle);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 8px;
  font-size: 12px;
}

.footer-nav a {
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: var(--subtle);
}

.footer-bottom span {
  color: var(--muted);
}

.back-top {
  color: var(--accent);
  font-size: 12px;
}

/* ---------- 动效与无障碍 ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 错落感：delay 取保守值 40/80ms，总时长仍贴近视觉规范 §7 的 500ms 上限 */
.service-grid   .reveal:nth-child(2) { transition-delay: 40ms; }
.service-grid   .reveal:nth-child(3) { transition-delay: 80ms; }
.product-grid   .reveal:nth-child(2) { transition-delay: 40ms; }
.principle-list .reveal:nth-child(2) { transition-delay: 40ms; }
.principle-list .reveal:nth-child(3) { transition-delay: 80ms; }

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* 抽屉打开时锁背景滚动（不用 position: fixed，避免丢失滚动位置） */
body.nav-locked {
  overflow: hidden;
  overscroll-behavior: none;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 200;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--panel-solid);
  border: 1px solid var(--accent);
  color: var(--text);
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: none;
}

/* 卡片 hover：不位移；且只在「整卡内可点元素被 hover」时反馈，避免误导整卡可点 */
@media (hover: hover) {
  .qr-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-soft);
  }

  .product-card:has(.btn:hover),
  .service-card:has(.text-link:hover) {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-soft);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-delay: 0s !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1100px) {
  .hero-visual {
    width: 300px;
    height: 300px;
  }

  /* 900~1100 区间 header 实测占用 754px / 可用 845px，余量仅 91px，收紧防挤 */
  .header-inner { gap: 16px; }
  .nav-list { gap: 18px; }
  .hero-inner { gap: 28px; }
}

@media (max-width: 900px) {
  .container {
    padding: 0 24px;
  }

  .site-header,
  .header-inner {
    height: 64px;
  }

  html {
    scroll-padding-top: 76px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    margin: 0;
    padding: 22px 24px 28px;
    background: var(--header-bg);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    /* ② 手机横屏（844×390）等小高度视口下抽屉必须可滚动，且不把滚动传给 body */
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

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

  .nav-list a {
    display: block;
    padding: 12px 0;          /* ③ 42.5px → 45.5px，补齐 44px 触控底线 */
    font-size: 15px;
  }

  .nav-list a.is-active::after {
    left: 0;
    right: auto;
    width: 24px;
  }

  /* ① P0-2：iOS Safari 对 <16px 的输入控件聚焦时强制放大且不还原 */
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    padding: 11px 14px;
  }

  .field textarea {
    min-height: 80px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    padding: 112px 0 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-visual {
    display: none;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero h1 {
    font-size: clamp(32px, 6vw, 44px);
    line-height: 1.28;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  /* 注意必须用 minmax(0, 1fr)：裸 1fr 的 min 是 auto，
     会让 .qr-grid（auto-fit 最小 187px）把面板撑出视口造成横向溢出 */
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

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

  /* D3（team-lead 裁决采纳体验规范）：640~900 区间 3 列每列仅 ~268px，描述贴边折行 → 改 2 列 */
  .principle-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  /* ④ 单列后 2 列会让每格拉到 ~395px（二维码变成近 400px 巨图）。
        用 auto-fit + 187px 下限：900px 视口排 4 列（每格 192px），视口收窄自动降到
        3 / 2 / 1 列，保证 .qr-card img 实测始终 ≥ 120px（微信码实扫下限）。 */
  .qr-grid {
    grid-template-columns: repeat(auto-fit, minmax(187px, 1fr));
    gap: 12px;
  }

  /* ⑤ icon-btn 视觉尺寸仍 40px，用伪元素把热区扩到 48px */
  .icon-btn { position: relative; }
  .icon-btn::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
  }

  /* ⑥ 保证页头右侧留白 >= 12px */
  .header-actions { gap: 8px; }

  .footer-top {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .brand-text {
    font-size: 16px;
  }

  .hero {
    padding: 96px 0 48px;
  }

  /* ① 字号下限：视觉规范 §3 定全站最小 12px，以下各处统一提上来 */
  .eyebrow        { font-size: 12px; letter-spacing: .1em; }
  .qr-label small { font-size: 12px; }
  .tag-list li    { font-size: 12px; }
  .form-privacy   { font-size: 12px; }
  .field-error    { font-size: 12px; }
  .back-top       { font-size: 12px; }
  .footer-bottom  { font-size: 12px; }
  .status-badge   { font-size: 12px; }
  .product-top::after { font-size: 12px; }

  /* ② 中文标题负字距清零（断点内会覆盖全局修复，必须逐条处理） */
  .hero h1         { letter-spacing: 0; }
  .section-head h2 { letter-spacing: .01em; }

  /* ③ 移动端 H1 / H2 对齐视觉规范 §3 移动刻度 */
  .hero h1 {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.28;
  }

  .hero-sub {
    font-size: 15.5px;
    line-height: 1.75;
  }

  /* ④ Hero 双按钮：贴 160px 边界，320px 屏会溢出，收紧内边距 */
  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
    padding: 0 18px;
    font-size: 14px;
  }

  .section {
    padding: 48px 0;
  }

  .section-head h2 {
    font-size: 24px;
    line-height: 1.32;
  }

  .section-lead {
    font-size: 15.5px;
    line-height: 1.75;
  }

  /* ⑤ 能力带 chip 化：隐藏孤立圆点，避免折行时圆点落单 */
  .capability-track {
    gap: 8px 10px;
  }
  .capability-track i {
    display: none;
  }
  .capability-track span {
    padding: 5px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--tag-bg);
    font-size: 12px;
    letter-spacing: .04em;
  }

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

  .product-grid,
  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-card,
  .service-card {
    padding: 20px;
  }

  .principle-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

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

  .contact-panel,
  .contact-form-wrap {
    padding: 20px 18px;
  }

  /* 手机端输入框变窄，称呼/联系方式回到单列，避免占位文字被截断 */
  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .field-row .field {
    margin-bottom: 14px;
  }

  .qr-grid {
    gap: 12px;
  }

  .qr-card {
    padding: 10px 10px 12px;
  }

  /* ⑨ 单列后让二维码尽量占满格（放宽 5.7 的 72% → 92%） */
  .qr-card img {
    width: min(92%, 148px);
  }

  /* ⑥ 同意勾选行：单行文字 ~20px，远低于 44px 触控底线 */
  .consent {
    padding: 11px 0;
    min-height: 44px;
    align-items: center;
  }
  .consent input {
    width: 20px;
    height: 20px;
    margin: 0;
  }

  /* 手机端宽度不足：同意行与按钮改为上下排列，按钮占满整行 */
  .form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .form-actions .btn-submit {
    width: 100%;
  }

  /* ⑦ 服务卡 CTA 高约 20px < 44px */
  .service-card .text-link {
    min-height: 44px;
    align-items: center;
  }

  /* ⑧ 页脚链接与回到顶部：19~20px < 44px */
  .footer-nav {
    gap: 0 18px;
  }
  .footer-nav a,
  .back-top {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
  }

  .founder-card {
    padding: 22px;
  }

  .founder-avatar {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .founder-title h2 {
    font-size: 26px;
  }

  .founder-card blockquote {
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .hero-actions .btn {
    flex-basis: 100%;
  }

  .process-list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* ① 2 列时每格 ≈116px，图不足 120px 实扫下限 → 改 1 列，图 = 148px */
  .qr-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* ② 1 列后 4 张卡总高过大：改横向布局（图左、文案右），单卡高降到 ~170px */
  .qr-card {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 10px 12px;
  }
  .qr-card img {
    /* clamp 下限 120px：320px 视口下 46% 只有 ~101px，低于实扫下限 */
    width: clamp(120px, 46%, 148px);
    flex-shrink: 0;
  }
  .qr-label {
    padding: 0;
  }

  /* ③ 单列下拉：保证箭头区不被长选项文字压住 */
  .field select {
    padding-right: 34px;
    font-size: 16px;
  }
}
