:root {
  /* 唯一强调色：与 writer 宝宝豚同色系的靛紫；深色区用提亮版 */
  --indigo: #33258F;
  --indigo-ink: #091242;
  --indigo-tint: #F1F0F8;
  --indigo-bright: #7F8EF5;
  --indigo-pale: #C3CDF9;
  --night: #0F1730;
  --night-edge: #0D1429;
  --nav-h: 72px;
  /* 每屏统一高度：视口减导航 */
  --page-h: calc(100vh - var(--nav-h));
  --night-grad: linear-gradient(165deg, #151E3C 0%, #10182F 55%, #0D1429 100%);
  --night-card: rgba(255, 255, 255, .03);
  --night-line: rgba(148, 176, 230, .14);
  --night-text: #E4EAF5;
  --night-muted: #8C9AB5;
  --ink-900: #0F1115;
  --ink-700: #2B2F36;
  --ink: #3D424A;
  --muted: #61666B;
  --line: #E6E8EC;
  --paper: #F6F7F9;
  --dots: radial-gradient(rgba(15, 17, 21, .12) 1px, transparent 1.4px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 1px 2px rgba(15, 17, 21, .04), 0 8px 24px -14px rgba(15, 17, 21, .14);
  --shadow-lg: 0 2px 4px rgba(15, 17, 21, .04), 0 24px 48px -26px rgba(15, 17, 21, .28);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--night);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink-900); margin: 0; line-height: 1.3; }
p { margin: 0; }
.container { width: min(1160px, 100% - 64px); margin-inline: auto; }

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

/* 关键词：只换纯色，不垫衬底 */
.mark { color: var(--indigo); }
.hero .mark { color: var(--indigo-pale); }
:focus-visible { outline: 2px solid var(--indigo-bright); outline-offset: 3px; border-radius: 6px; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s var(--ease), border-color .2s, color .2s, background-color .2s;
}
.arrow { display: inline-block; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { color: #fff; background: var(--ink-900); }
.btn-primary:hover { background: #2A2E37; }
.btn-ghost { color: var(--ink-900); background: #fff; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #C9CCD3; }
.btn-outline { color: var(--ink-900); border: 1px solid #D6D9DF; background: transparent; }
.btn-outline:hover { border-color: var(--ink-900); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
/* 深色区块上的主按钮反白 */
.hero .btn-primary, .section-dark .btn-primary { color: var(--night); background: #fff; }
.hero .btn-primary:hover, .section-dark .btn-primary:hover { background: #E3E8F4; }

/* 导航：每屏同一种不透明深色，与页脚同色，不随滚动换色 */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--night-edge);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-suffix { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--night-muted); letter-spacing: 2px; }
.brand-suffix::before { content: ""; width: 1px; height: 14px; background: rgba(255, 255, 255, .2); }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 15px; color: #B4BED3; }
.nav-links a:not(.btn) { position: relative; transition: color .2s; }
.nav-links a:not(.btn):hover { color: #fff; }
.nav .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .22); }
.nav .btn-outline:hover { border-color: #fff; }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1.5px;
  border-radius: 1px;
  background: #fff;
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle, .nav-burger { display: none; }

/* 首屏：光晕与点阵跟着右侧图形走，不按整屏宽度定位，宽屏时不会被甩到边上 */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--page-h);
  overflow: hidden;
  padding: 64px 0;
  color: var(--night-muted);
  background:
    radial-gradient(760px 520px at 0% 0%, rgba(110, 124, 240, .1), transparent 70%),
    var(--night-grad);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 760px 560px at calc(50% + 300px) 50%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 760px 560px at calc(50% + 300px) 50%, #000 20%, transparent 72%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--night-line);
  border-radius: 8px;
  background: var(--night-card);
  font-size: 13px;
  letter-spacing: 1px;
  color: #B4BED3;
}
.kicker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--indigo-bright); box-shadow: 0 0 0 3px rgba(127, 142, 245, .18); }
.hero h1 { margin-top: 26px; font-size: clamp(42px, 5.6vw, 72px); font-weight: 700; line-height: 1.16; letter-spacing: -.01em; color: #fff; }
.lead { margin-top: 26px; max-width: 500px; font-size: 18px; color: var(--night-muted); }
.lead strong { display: block; margin-bottom: 6px; font-size: 20px; font-weight: 600; color: var(--night-text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero .btn-ghost { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .2); }
.hero .btn-ghost:hover { border-color: rgba(255, 255, 255, .5); }

.hero-visual { position: relative; width: min(400px, 100%); aspect-ratio: 1; justify-self: center; }
.hero-visual::before { content: ""; position: absolute; inset: -50%; background: radial-gradient(closest-side, rgba(110, 124, 240, .26), transparent); pointer-events: none; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(195, 205, 249, .14); }
.orbit-1 { inset: 8%; animation: spin 60s linear infinite; }
.orbit-2 { inset: -6%; border-style: dashed; border-color: rgba(195, 205, 249, .09); }
.orbit i {
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--indigo-bright);
  box-shadow: 0 0 0 4px rgba(127, 142, 245, .16);
}
.orb {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  border: 1px solid rgba(195, 205, 249, .18);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, .16), rgba(127, 142, 245, .06) 52%, rgba(13, 20, 41, .5) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .22),
    inset 0 -18px 36px -18px rgba(5, 8, 20, .6),
    0 28px 56px -18px rgba(5, 8, 20, .7);
}
.mascot { position: absolute; left: 34%; top: 33%; width: 32%; filter: drop-shadow(0 10px 22px rgba(236, 95, 134, .2)); }
.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(14, 25, 43, .85);
  border: 1px solid var(--night-line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  color: #D5DCEA;
}
.chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--indigo-bright); }
.chip-1 { top: 12%; left: -6%; }
.chip-2 { top: 47%; right: -10%; }
.chip-3 { bottom: 10%; left: 4%; }

/* 区块通用：桌面端首屏、产品、承诺、关于、联系加页脚，每屏都是 --page-h 高，内容上下居中 */
.section { padding: 64px 0; background: #fff; }
@media (min-width: 721px) {
  .section:not(.contact) { display: flex; flex-direction: column; justify-content: center; min-height: var(--page-h); }
  .page-end { display: flex; flex-direction: column; min-height: var(--page-h); }
  .page-end .contact { display: flex; flex: 1; flex-direction: column; justify-content: center; }
}
.section-head h2 { margin-top: 18px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.section-sub { margin-top: 14px; max-width: 600px; font-size: 17px; color: var(--muted); }
.label { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: 2px; color: var(--muted); }
.label span { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 1px; color: var(--muted); }
.label span::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: #D6D9DF; }

/* 产品：横向滑动的卡片轨道，桌面一屏两张，产品再多也不加高 */
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.carousel-nav { display: flex; flex: none; gap: 10px; }
.carousel-nav[hidden] { display: none; }

/* 桌面端区块标题与「关于」整块居中；首屏左文右图不动，手机端多行居中难读，保持左对齐 */
@media (min-width: 721px) {
  .section-head, .statement, .about-intro { text-align: center; }
  .section-head .section-sub, .statement, .about-intro { margin-left: auto; margin-right: auto; }
  .section-head-row { position: relative; justify-content: center; }
  .section-head-row .carousel-nav { position: absolute; right: 0; bottom: 0; }
}
.carousel-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink-900);
  cursor: pointer;
  transition: border-color .2s, background-color .2s, opacity .2s;
}
.carousel-btn:hover:not(:disabled) { border-color: var(--ink-900); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* 上下留出余量，悬停上浮和阴影才不会被横向滚动裁掉 */
.product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 2);
  gap: 24px;
  margin: 36px -6px 0;
  padding: 10px 6px 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 6px;
  scrollbar-width: none;
}
.product-track::-webkit-scrollbar { display: none; }
.product-track:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: 16px; }
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
a.product-card:hover { transform: translateY(-3px); border-color: #D6D9DF; box-shadow: var(--shadow-lg); }
.pc-shot {
  position: relative;
  padding: 24px 28px 0;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(51, 37, 143, .1), transparent 70%),
    radial-gradient(50% 80% at 0% 100%, rgba(19, 27, 112, .05), transparent 70%),
    var(--paper);
}
.pc-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dots);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 90% at 85% 30%, #000, transparent);
  mask-image: radial-gradient(60% 90% at 85% 30%, #000, transparent);
  pointer-events: none;
}
.pc-shot img {
  position: relative;
  width: 100%;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 0 0 1px rgba(15, 17, 21, .06), 0 -10px 40px -24px rgba(15, 17, 21, .3);
  transition: transform .4s var(--ease);
}
a.product-card:hover .pc-shot img { transform: translateY(-3px); }
.pc-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px 28px 26px; border-top: 1px solid var(--line); }
.pc-head { display: flex; align-items: center; gap: 12px; }
.pc-icon { width: 40px; height: 40px; padding: 6px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.pc-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 600; color: var(--ink-900); }
a.product-card:hover .arrow, .soon-link:hover .arrow { transform: translateX(4px); }
.product-card.is-soon {
  position: relative;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  padding: 36px;
  background:
    radial-gradient(70% 70% at 100% 0%, rgba(51, 37, 143, .08), transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, #fff 100%);
  box-shadow: none;
}
.product-card.is-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dots);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 60% at 80% 20%, #000, transparent);
  mask-image: radial-gradient(70% 60% at 80% 20%, #000, transparent);
  pointer-events: none;
}
.product-card.is-soon > * { position: relative; }
.soon-plus { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); font-size: 22px; font-weight: 300; color: var(--indigo); }
.is-soon h3 { margin-top: 6px; font-size: 20px; }
.is-soon p { max-width: 360px; font-size: 15px; color: var(--muted); }
.soon-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--ink-700); white-space: nowrap; transition: color .2s; }
.soon-link:hover { color: var(--ink-900); }
.product-title { display: flex; align-items: center; gap: 12px; }
.product-title h3 { font-size: 20px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: #F1F3F5; white-space: nowrap; }
.status-live { color: var(--indigo); background: var(--indigo-tint); }
.status-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--indigo-bright); box-shadow: 0 0 0 2px rgba(127, 142, 245, .2); }
.product-desc { margin-top: 14px; font-size: 15px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tags li { padding: 2px 10px; border-radius: 6px; font-size: 13px; color: var(--ink-700); background: #F1F3F5; }

/* 关于 */
#about { position: relative; overflow: hidden; }
#about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dots);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 560px 420px at 100% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 560px 420px at 100% 0%, #000, transparent 75%);
  pointer-events: none;
}
#about .container { position: relative; }
.statement { margin-top: 36px; max-width: 980px; font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; line-height: 1.4; letter-spacing: 0; color: var(--ink-900); }
.about-intro { margin-top: 26px; max-width: 640px; font-size: 17px; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.value { position: relative; padding: 30px 28px 32px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); }
.value::before { content: ""; position: absolute; top: -1px; left: 28px; width: 28px; height: 2px; background: var(--indigo); }
.value-no { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 1px; color: var(--muted); }
.value h3 { margin-top: 12px; font-size: 21px; }
.value p { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* 承诺 */
.promise-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; margin-top: 56px; }
/* 图标在上、文字沉底，卡片撑高，让等高的一屏不显空；三行用 subgrid 跨卡共享，正文行数不同时标题仍在同一行 */
.promise {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 0;
  min-height: 270px;
  padding: 32px 28px 34px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .3s, background .3s;
}
.promise-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--indigo-tint); color: var(--indigo); }
.promise-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.promise h3 { margin-top: auto; padding-top: 40px; font-size: 19px; }
.promise p { margin-top: 10px; font-size: 14.5px; line-height: 1.8; color: var(--muted); }

/* 深色区块 */
.section-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 520px at 92% 0%, rgba(110, 124, 240, .18), transparent 70%),
    radial-gradient(640px 460px at 0% 100%, rgba(110, 124, 240, .08), transparent 70%),
    var(--night-grad);
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .065) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  pointer-events: none;
}
.section-dark .container { position: relative; }
.section-dark .label, .section-dark .label span { color: var(--night-muted); }
.section-dark .label span::after { background: rgba(255, 255, 255, .16); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-sub { color: var(--night-muted); }
.section-dark .promise {
  border-color: var(--night-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055) 0%, rgba(255, 255, 255, .015) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 18px 36px -20px rgba(5, 8, 20, .6);
}
.section-dark .promise:hover { border-color: rgba(148, 176, 230, .3); background: linear-gradient(180deg, rgba(255, 255, 255, .075) 0%, rgba(255, 255, 255, .025) 100%); }
.section-dark .promise p { color: var(--night-muted); }
.section-dark .promise-icon { background: rgba(127, 142, 245, .14); color: var(--indigo-pale); }

/* 联系 */
/* 底部收到页脚同色 #0D1429，两块接成一片 */
.contact {
  padding: 64px 0;
  background:
    radial-gradient(760px 520px at 92% 0%, rgba(110, 124, 240, .18), transparent 70%),
    linear-gradient(180deg, #141C3A 0%, #0D1429 100%);
}
.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1.4fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 48px 52px;
  border-radius: 18px;
  border: 1px solid var(--night-line);
  overflow: hidden;
  background:
    radial-gradient(460px 280px at 100% 0%, rgba(91, 110, 224, .14), transparent 70%),
    var(--night-card);
}
.contact-card > * { position: relative; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--night-line);
  background: rgba(127, 142, 245, .12);
  color: var(--indigo-pale);
}
.contact-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-copy h2 { margin-top: 14px; font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: 0; }
.contact-copy > p:last-child { margin-top: 10px; font-size: 16px; color: var(--night-muted); }
.contact-info { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.contact-mail { font-family: var(--mono); font-size: 16px; font-weight: 500; color: var(--indigo-pale); transition: color .2s; }
.contact-mail:hover { color: #fff; }
.contact-addr { font-size: 14px; color: var(--night-muted); }
.contact-info .btn { margin-top: 14px; }

/* 页脚 */
.footer {
  padding: 56px 0 32px;
  font-size: 14px;
  color: var(--night-muted);
  background: var(--night-edge);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand p { margin-top: 14px; }
.footer-brand .brand-suffix { font-size: 13px; }
.footer-brand .brand-suffix::before { height: 12px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-title { margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--night-text); }
.footer-col a { transition: color .2s; }
.footer-col a:hover, .footer-legal a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 13px; }

/* 404 */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 48px 24px; text-align: center; background: var(--paper); }
.notfound img { width: 140px; }

/* 进场动画：仅在脚本加载后启用，脚本失效时内容照常显示 */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* 宽屏：放宽版心、放大首屏 */
@media (min-width: 1600px) {
  .container { width: min(1320px, 100% - 128px); }
  .hero h1 { font-size: 84px; }
  .lead { max-width: 580px; font-size: 19px; }
  .lead strong { font-size: 22px; }
  .hero-visual { width: 470px; }
  .hero-grid {
    -webkit-mask-image: radial-gradient(ellipse 860px 640px at calc(50% + 340px) 50%, #000 20%, transparent 72%);
    mask-image: radial-gradient(ellipse 860px 640px at calc(50% + 340px) 50%, #000 20%, transparent 72%);
  }
  .section-head h2 { font-size: 48px; }
  .section-sub { font-size: 18px; }
  .statement { font-size: 44px; }
}

/* 矮屏（笔记本 768 高等）：收紧留白，让每屏内容仍放得进一屏 */
@media (min-width: 721px) and (max-height: 820px) {
  .section, .contact { padding: 36px 0; }
  .section-head h2 { margin-top: 10px; font-size: clamp(28px, 3vw, 36px); }
  .section-sub { margin-top: 8px; font-size: 16px; }
  .product-track { margin-top: 20px; padding-bottom: 16px; }
  .pc-shot { padding: 18px 22px 0; }
  .pc-body { padding: 16px 24px 18px; }
  .product-desc { margin-top: 10px; }
  .pc-cta { padding-top: 12px; }
  .promise-grid { margin-top: 32px; }
  .promise { min-height: 220px; padding: 24px 22px 26px; }
  .promise h3 { padding-top: 24px; }
  .value { padding: 22px 24px 24px; }
  .statement { margin-top: 24px; font-size: clamp(24px, 2.8vw, 34px); }
  .about-intro { margin-top: 16px; }
  .values { margin-top: 36px; }
  .footer { padding: 36px 0 24px; }
  .footer-legal { margin-top: 24px; }
}

/* 平板 */
@media (max-width: 1024px) {
  .chip-2 { right: -2%; }
  .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promise { min-height: 0; }
  .promise:nth-child(n+3) { margin-top: 20px; }
  .promise h3 { padding-top: 24px; }
  .contact-card { gap: 28px; padding: 40px; }
}
@media (max-width: 860px) {
  .contact-card { grid-template-columns: auto 1fr; }
  .contact-info { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* 桌面端联系区去掉卡片、整块居中，标题字号跟各区块标题一致；放在平板规则之后才能盖住；手机端仍用卡片 */
@media (min-width: 721px) {
  .contact-card { grid-template-columns: 1fr; justify-items: center; gap: 28px; padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; text-align: center; }
  .contact-icon { display: none; }
  .contact-copy h2 { margin-top: 18px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.25; }
  .contact-copy > p:last-child { margin-top: 14px; font-size: 17px; }
  .contact-info { display: grid; grid-template-columns: auto auto; column-gap: 80px; row-gap: 2px; align-items: center; justify-content: center; grid-column: auto; margin-top: 60px; text-align: left; }
  .contact-mail { grid-column: 1; grid-row: 1; }
  .contact-addr { grid-column: 1; grid-row: 2; }
  .contact-info .btn { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}
@media (min-width: 1600px) {
  .contact-copy h2 { font-size: 48px; }
  .contact-copy > p:last-child { font-size: 18px; }
}
@media (min-width: 721px) and (max-height: 820px) {
  .contact-copy h2 { margin-top: 10px; font-size: clamp(28px, 3vw, 36px); }
  .contact-copy > p:last-child { margin-top: 8px; font-size: 16px; }
}

/* 手机 */
@media (max-width: 720px) {
  .container { width: min(1160px, 100% - 40px); }
  .br-desktop { display: none; }
  :root { --nav-h: 64px; }
  .nav-burger { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; cursor: pointer; }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after {
    display: block;
    position: relative;
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: #fff;
    transition: transform .2s, background-color .2s;
  }
  .nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; }
  .nav-burger span::before { top: -6px; }
  .nav-burger span::after { top: 6px; }
  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    background: var(--night-edge);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .5);
  }
  .nav-links a:not(.btn) { padding: 16px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); color: #D5DCEA; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 20px; height: 46px; }
  .nav-toggle:checked ~ .nav-links { display: flex; }

  .hero { display: block; min-height: 0; padding: 48px 0 72px; }
  .hero-grid {
    -webkit-mask-image: radial-gradient(ellipse 80% 40% at 50% 78%, #000 20%, transparent 72%);
    mask-image: radial-gradient(ellipse 80% 40% at 50% 78%, #000 20%, transparent 72%);
  }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { width: min(270px, 76vw); }
  .chip { padding: 5px 10px; font-size: 12px; }
  .chip-1 { left: -4%; }
  .chip-2 { right: -6%; }
  .chip-3 { bottom: 8%; left: 2%; }
  .hero h1 { margin-top: 20px; }
  .lead { font-size: 16px; }
  .hero-actions .btn { flex: 1; padding: 0 16px; }

  .section, .contact { padding: 80px 0; }
  .carousel-nav { display: none; }
  .product-track { grid-auto-columns: 86%; gap: 14px; margin-top: 28px; }
  .pc-shot { padding: 16px 16px 0; }
  .pc-body { padding: 18px 20px 22px; }
  .product-card.is-soon { padding: 24px 20px; }
  .values { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .value { padding: 22px 20px 24px; }
  .value::before { left: 20px; }
  .promise-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .promise { display: grid; grid-row: auto; grid-template-rows: none; grid-template-columns: 40px 1fr; column-gap: 16px; min-height: 0; padding: 20px 18px; }
  .promise:nth-child(n+3) { margin-top: 0; }
  .promise-icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; }
  .promise-icon svg { width: 20px; height: 20px; }
  .promise h3 { margin-top: 0; padding-top: 0; font-size: 17px; line-height: 1.5; }
  .promise p { margin-top: 6px; }
  .contact-card { grid-template-columns: 1fr; gap: 24px; padding: 30px 22px; border-radius: 16px; }
  .contact-icon { width: 56px; height: 56px; border-radius: 14px; }
  .contact-icon svg { width: 26px; height: 26px; }
  .contact-info { grid-column: auto; }
  .contact-mail { font-size: 15px; }
  .footer { padding-top: 64px; }
  .footer-col { gap: 4px; }
  .footer-col a, .footer-col span { padding: 5px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

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