/* ==========================================================================
   前台样式 · 苹果官网式的视觉语言
   白 / 浅灰 #f5f5f7 / 纯黑 三种底色交替；正文近黑；唯一的强调色是蓝色。
   苹果设备上直接使用系统的 SF Pro + 苹方；其他设备用自托管的 Inter 兜底拉丁字母与数字。
   想换主色：改下面的 --blue / --link 即可。
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  /* 只接管拉丁字母与数字；引号、破折号、间隔号交给中文字体 */
  unicode-range: U+0020-007E, U+00A1-00B6, U+00B8-00FF, U+20AC;
}

:root {
  --white: #fff;
  --fog: #f5f5f7;
  --black: #000;
  --night: #1d1d1f;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;
  --hair: #d2d2d7;
  --hair-dark: #424245;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --green: #34c759;
  --flag: #bf4800;

  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro SC', 'SF Pro Text', 'Inter', 'PingFang SC', 'HarmonyOS Sans SC', 'MiSans',
    'Microsoft YaHei UI', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;

  --gutter: clamp(22px, 5vw, 48px);
  --section: clamp(76px, 9.5vw, 148px);
  --radius-l: 28px;
  --radius-m: 18px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --focus: var(--blue);

  /* 阴影大小跟随屏幕宽度：小屏上过大的模糊半径会渲染出生硬的方块 */
  --shadow-window: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 clamp(10px, 1.7vw, 24px) clamp(20px, 3.4vw, 48px) clamp(-16px, -1.1vw, -6px) rgba(0, 0, 0, 0.22),
    0 clamp(20px, 4.2vw, 60px) clamp(36px, 8vw, 110px) clamp(-40px, -2.8vw, -14px) rgba(0, 0, 0, 0.26);
  --shadow-soft: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 16px 32px -14px rgba(0, 0, 0, 0.2);
}

/* ---------- 基础 ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.58;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-break: strict;
}
h1,
h2,
h3,
p,
dl,
dd,
ol,
ul,
figure {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: rgba(0, 113, 227, 0.22);
}

.wrap {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 980px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}
.num {
  font-variant-numeric: tabular-nums;
}
.section--dark,
.tile--dark,
.lightbox {
  --focus: var(--link-dark);
}

/* ---------- 按钮与链接 ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 980px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.25s;
}
.pill:hover {
  background: var(--blue-hover);
}
.pill--sm {
  min-height: 28px;
  padding: 0 12px;
  font-size: 12px;
}
.pill--block {
  width: 100%;
}
.pill--ghost {
  border-color: var(--blue);
  background: transparent;
  color: var(--link);
}
.pill--ghost:hover {
  background: var(--blue);
  color: #fff;
}
.pill[disabled] {
  opacity: 0.5;
  cursor: progress;
}
.pill .ext {
  margin-left: 2px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--link);
}
.more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.more .chev {
  width: 0.42em;
  height: 0.72em;
  margin-top: 0.08em;
}
.more .ext {
  width: 0.56em;
  height: 0.56em;
}
.more--back {
  font-size: 14px;
}
.more--back .chev {
  transform: rotate(180deg);
}
.section--dark .more,
.tile--dark .more {
  color: var(--link-dark);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
}

.eyebrow {
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 600;
  color: var(--ink-2);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-2);
  white-space: nowrap;
}
.status i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
}
.status--live i {
  background: var(--green);
}
.status--live i::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--green);
  animation: ping 2.4s ease-out infinite;
}
.status--wip i {
  background: #ff9f0a;
}

/* 「上线至今」计时 */
.run {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.run__days {
  font-weight: 600;
}
.run__unit {
  font-size: 0.82em;
}
.run__clock {
  margin-left: 0.3em;
  font-size: 0.86em;
  color: var(--ink-3);
}

/* ---------- 导航 ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 48px;
  background: rgba(251, 251, 253, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.3s;
}
.nav.is-stuck {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(100% - 2 * var(--gutter), 1200px);
  height: 100%;
  margin-inline: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  line-height: 1;
}
.nav__menu {
  display: flex;
  gap: clamp(24px, 3.4vw, 44px);
  margin-inline: auto;
  font-size: 13px;
}
.nav__menu a {
  color: rgba(0, 0, 0, 0.8);
  transition: color 0.25s;
}
.nav__menu a:hover {
  color: #000;
}
.nav__toggle {
  display: none;
}

@media (max-width: 833px) {
  .nav__cta {
    margin-left: auto;
  }
  .nav__toggle {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-right: -10px;
  }
  .nav__toggle i {
    position: absolute;
    width: 17px;
    height: 1.2px;
    background: var(--ink);
    transition: transform 0.4s var(--ease);
  }
  .nav__toggle i:first-of-type {
    transform: translateY(-3.5px);
  }
  .nav__toggle i:last-of-type {
    transform: translateY(3.5px);
  }
  .nav.is-open .nav__toggle i:first-of-type {
    transform: rotate(45deg);
  }
  .nav.is-open .nav__toggle i:last-of-type {
    transform: rotate(-45deg);
  }
  .nav .brand,
  .nav__cta {
    position: relative;
    z-index: 2;
  }
  .nav__menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    gap: 0;
    height: 100dvh;
    margin: 0;
    padding: 84px var(--gutter) 40px;
    background: #fff;
    font-size: 28px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s,
      visibility 0s 0.3s;
  }
  .nav.is-open .nav__menu {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s;
  }
  .nav__menu a {
    padding: 10px 0;
    color: var(--ink);
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.4s var(--ease),
      transform 0.4s var(--ease);
  }
  .nav.is-open .nav__menu a {
    opacity: 1;
    transform: none;
  }
  .nav.is-open .nav__menu a:nth-child(2) {
    transition-delay: 40ms;
  }
  .nav.is-open .nav__menu a:nth-child(3) {
    transition-delay: 80ms;
  }
  .nav.is-open .nav__menu a:nth-child(4) {
    transition-delay: 120ms;
  }
  .nav.is-open .nav__menu a:nth-child(5) {
    transition-delay: 160ms;
  }
}

/* ---------- 首屏 ---------- */

.hero {
  padding: calc(48px + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px);
  background: var(--fog);
  text-align: center;
  overflow: hidden;
}
.hero__copy > * {
  animation: fade-up 1s var(--ease) both;
}
.hero__copy > :nth-child(2) {
  animation-delay: 0.08s;
}
.hero__copy > :nth-child(3) {
  animation-delay: 0.16s;
}
.hero__copy > :nth-child(4) {
  animation-delay: 0.24s;
}
.hero__title {
  margin-top: 10px;
  font-size: clamp(40px, 7.4vw, 92px);
  line-height: 1.1;
  letter-spacing: -0.018em;
}
.hero__title span {
  display: block;
}
.hero__sub {
  max-width: 31em;
  margin: clamp(16px, 2vw, 26px) auto 0;
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.5;
  color: var(--ink-2);
}
.hero .cta {
  margin-top: clamp(24px, 2.6vw, 36px);
  font-size: clamp(17px, 1.6vw, 20px);
}

.exhibit {
  width: min(100% - 2 * var(--gutter), 1120px);
  margin: clamp(48px, 6vw, 84px) auto 0;
  animation: rise-in 1.3s var(--ease) 0.3s both;
}
.exhibit__slides {
  display: grid;
}
.exhibit__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.985);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease),
    visibility 0s 0.8s;
}
.exhibit__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.exhibit__visual {
  display: block;
}
.exhibit__cap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  margin-top: clamp(28px, 3.4vw, 44px);
  font-size: 15px;
  color: var(--ink-2);
}
.exhibit__cap strong {
  font-weight: 600;
  color: var(--ink);
}
.exhibit__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}
.dotnav {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 18px;
  border-radius: 980px;
  background: rgba(210, 210, 215, 0.64);
}
.dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.42);
  overflow: hidden;
  transition:
    width 0.5s var(--ease),
    background-color 0.3s;
}
.dot::before {
  content: '';
  position: absolute;
  inset: -14px -6px;
}
.dot:hover {
  background: rgba(0, 0, 0, 0.7);
}
.dot.is-active {
  width: 44px;
  background: rgba(0, 0, 0, 0.18);
}
.dot i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.78);
  transform: translateX(-101%);
}
.dot.is-active i {
  animation: progress var(--cycle, 7s) linear forwards;
}
.exhibit.is-paused .dot.is-active i {
  animation-play-state: paused;
}
.playbtn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(210, 210, 215, 0.64);
  transition: background-color 0.25s;
}
.playbtn:hover {
  background: rgba(200, 200, 206, 0.9);
}
.playbtn svg {
  fill: rgba(0, 0, 0, 0.72);
}
.playbtn .icon-play,
.exhibit.is-stopped .playbtn .icon-pause {
  display: none;
}
.exhibit.is-stopped .playbtn .icon-play {
  display: block;
}

/* ---------- 截图外框 ---------- */

.frame {
  margin: 0;
}
.frame--browser {
  overflow: hidden;
  border-radius: clamp(8px, 1.1vw, 14px);
  background: #fff;
  box-shadow: var(--shadow-window);
}
.frame__bar {
  display: grid;
  grid-template-columns: 1fr minmax(0, 2.2fr) 1fr;
  align-items: center;
  height: clamp(24px, 3vw, 38px);
  padding: 0 clamp(8px, 1.1vw, 14px);
  background: linear-gradient(#fafafa, #ececee);
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
.frame__dots {
  display: flex;
  gap: clamp(4px, 0.55vw, 7px);
}
.frame__dots i {
  width: clamp(6px, 0.85vw, 11px);
  height: clamp(6px, 0.85vw, 11px);
  border-radius: 50%;
  background: #ff5f57;
}
.frame__dots i:nth-child(2) {
  background: #febc2e;
}
.frame__dots i:nth-child(3) {
  background: #28c840;
}
.frame__url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 64%;
  padding: 0 12px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink-2);
  font-size: clamp(9px, 0.9vw, 12px);
  line-height: 1;
  white-space: nowrap;
}
.frame__url svg {
  flex: none;
  opacity: 0.6;
}
.frame--dark .frame__bar {
  background: linear-gradient(#3a3a3d, #2c2c2e);
  border-bottom-color: rgba(0, 0, 0, 0.5);
}
.frame--dark .frame__url {
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-dark-2);
}
.frame--browser .frame__screen {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--fog);
}
.frame__screen > img,
.frame__screen > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.frame--plain {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}
.frame--plain > img,
.frame--plain > svg {
  width: 100%;
}

/* 手机外框。边框厚度一律按「手机自身」的尺寸算：
   百分比 padding 参照的是父容器宽度，手机缩小时边框会显得过厚、屏幕被挤窄，
   所以这里改用绝对定位的 inset(左右参照自身宽度，上下参照自身高度)。
   外框比例 390:818 是倒推出来的：扣掉边框后，屏幕区域正好是 390:844，截图不会被裁。 */
.frame--phone {
  position: relative;
  aspect-ratio: 390 / 818;
  border-radius: 14.5% / 6.91%;
  background: linear-gradient(145deg, #4a4a4d, #1c1c1e 30%, #1c1c1e 70%, #3a3a3c);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 24px 48px -16px rgba(0, 0, 0, 0.4);
}
.frame--phone .frame__screen {
  position: absolute;
  inset: 1.36% 2.85%;
  overflow: hidden;
  border-radius: 12.35% / 5.71%;
  background: #000;
}

/* 组合画面：浏览器窗口 + 右下角的手机 */
.showcase {
  position: relative;
}
.showcase.has-phone {
  padding: 0 7% 4% 0;
}
.showcase .frame--overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 19%;
}
.showcase--phones {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5%;
}
.showcase--phones .frame--phone {
  width: 25%;
}
.showcase--phones .frame--second {
  margin-top: 7%;
}

/* ---------- 区块通用 ---------- */

.section {
  padding-block: var(--section);
}
.section--fog {
  background: var(--fog);
}
.section--dark {
  background: var(--black);
  color: var(--on-dark);
}
.head {
  margin-bottom: clamp(40px, 5vw, 72px);
  text-align: center;
}
.head h2 {
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.head__lede {
  max-width: 33em;
  margin: clamp(12px, 1.6vw, 20px) auto 0;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
}
.section--dark .head__lede {
  color: var(--on-dark-2);
}
.empty {
  text-align: center;
  color: var(--ink-2);
}
.empty a {
  color: var(--link);
}

/* ---------- 案例卡片 ----------
   各家网站的截图风格差异很大，并排放容易显得花。
   做法：统一的「画框」去消化不同的「画」——同一底色、同一尺寸、同一位置、四周留白、不裁切；
   文字放在图下方左对齐，每张卡只留一个链接。 */

.segment {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: calc(-1 * clamp(8px, 2vw, 28px)) auto clamp(32px, 4vw, 56px);
  padding: 3px;
  overflow-x: auto;
  border-radius: 980px;
  background: #e8e8ed;
  scrollbar-width: none;
}
.segment::-webkit-scrollbar {
  display: none;
}
.segment__item {
  flex: none;
  padding: 8px 18px;
  border-radius: 980px;
  font-size: 14px;
  color: var(--ink);
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}
.segment__item.is-active {
  background: #fff;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.12),
    0 0 0 0.5px rgba(0, 0, 0, 0.04);
}

.cases {
  display: grid;
  gap: clamp(44px, 5vw, 76px) clamp(24px, 3vw, 44px);
}
.case[hidden] {
  display: none;
}
.case__link {
  display: block;
}
.case__panel {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 11;
  padding: 0 11%;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--fog);
}
.case__panel > * {
  width: 100%;
  transition: transform 0.9s var(--ease);
}
.case__panel .frame--browser {
  box-shadow: var(--shadow-soft);
}
.case__link:hover .case__panel > * {
  transform: translateY(-6px);
}
.case__panel--phones .frame--phone {
  width: 21%;
}
.case__panel--phones .frame--second {
  margin-top: 6%;
}
.cases--onfog {
  margin-bottom: clamp(44px, 5vw, 76px);
}
.cases--onfog .case__panel {
  background: #fff;
}
.case__body {
  padding: 22px 4px 0;
}
.case__eyebrow {
  min-height: 1.5em;
  font-size: 13px;
  color: var(--ink-2);
}
.case h3 {
  margin-top: 2px;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.3;
  transition: color 0.3s;
}
.case__link:hover h3 {
  color: var(--link);
}
.case__tagline {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.case__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 12px;
  font-size: 15px;
}
.case__run {
  font-size: 12px;
  color: var(--ink-3);
}
@media (min-width: 760px) {
  .cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* 占整行的卡片：左图右文 */
  .case.is-wide {
    grid-column: 1 / -1;
  }
  .case.is-wide .case__link {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: center;
  }
  .case.is-wide .case__body {
    padding: 0;
  }
  .case.is-wide h3 {
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.2;
  }
  .case.is-wide .case__tagline {
    margin-top: 12px;
    font-size: clamp(17px, 1.5vw, 20px);
    -webkit-line-clamp: 4;
  }
  .case.is-wide .case__foot {
    margin-top: 20px;
    font-size: 17px;
  }
}

/* 「下一个案例」用的大色块（案例详情页底部） */
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--fog);
  text-align: center;
}
.tile--dark {
  background: var(--black);
  color: var(--on-dark);
}
.tile__copy {
  width: min(86%, 620px);
}
.tile__eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.tile h3 {
  margin-top: 4px;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.12;
}
.tile__tagline {
  margin-top: 10px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.45;
  color: var(--ink-2);
}
.tile--dark .tile__eyebrow,
.tile--dark .tile__tagline {
  color: var(--on-dark-2);
}
.tile .cta {
  margin-top: 16px;
  font-size: clamp(16px, 1.4vw, 18px);
}

/* ---------- 交付台账 ---------- */

.ledger__table {
  --cols: 76px minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) 108px minmax(190px, 1.3fr) 76px;
  border-top: 1px solid var(--hair);
}
.ledger__head,
.ledger__row {
  display: grid;
  grid-template-columns: var(--cols);
  gap: 20px;
  align-items: baseline;
}
.ledger__head {
  padding: 14px 12px;
  border-bottom: 1px solid var(--hair);
  font-size: 12px;
  color: var(--ink-3);
}
.ledger__row {
  padding: 20px 12px;
  border-bottom: 1px solid var(--hair);
  font-size: 15px;
  color: var(--ink-2);
  transition: background-color 0.3s;
}
.ledger__row:hover {
  background: var(--fog);
}
.ledger__no {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}
.ledger__name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.ledger__row:hover .ledger__name {
  color: var(--link);
}
.ledger .run__days {
  color: var(--ink);
}
@media (max-width: 1040px) {
  /* 窄屏：每个项目压成三行 —— 编号与状态 / 名称 / 档次与计时 */
  .ledger__head,
  .ledger__row [data-label='行业'],
  .ledger__row [data-label='上线日期'] {
    display: none;
  }
  .ledger__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 16px;
    align-items: center;
    padding-inline: 0;
  }
  .ledger__row:hover {
    background: none;
  }
  .ledger__row [data-label='状态'] {
    grid-area: 1 / 2;
    justify-self: end;
  }
  .ledger__name {
    grid-column: 1 / -1;
    font-size: 19px;
  }
  .ledger__row [data-label='上线至今'] {
    justify-self: end;
  }
}

/* ---------- 价格档次 ---------- */

.tiers {
  display: grid;
  gap: 20px;
  align-items: stretch;
}
.tier {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 36px);
  border-radius: var(--radius-m);
  background: #fff;
}
.tier--highlight {
  box-shadow: 0 0 0 2px var(--blue);
}
.tier__flag {
  min-height: 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: var(--flag);
}
.tier h3 {
  margin-top: 4px;
  font-size: 28px;
}
.tier__desc {
  min-height: 3.1em;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.tier__price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 22px 0 22px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
}
.tier__yen {
  font-size: 24px;
}
.tier__num {
  font-size: clamp(44px, 4.4vw, 56px);
}
.tier__suffix {
  margin-left: 6px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-2);
}
.tier:not(.tier--highlight) .pill {
  border-color: var(--blue);
  background: transparent;
  color: var(--link);
}
.tier:not(.tier--highlight) .pill:hover {
  background: var(--blue);
  color: #fff;
}
.tier__items {
  flex: 1;
  margin-top: 28px;
  border-top: 1px solid var(--hair);
}
.tier__items li {
  position: relative;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid #e8e8ed;
  font-size: 14px;
  line-height: 1.5;
}
.tier__items li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 1.12em;
  width: 10px;
  height: 5px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}
.tier footer {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  font-size: 14px;
}
.tier__days {
  display: flex;
  justify-content: space-between;
}
.tier__days span {
  color: var(--ink-2);
}
@media (min-width: 900px) {
  .tiers--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tiers--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tiers--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.includes {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--hair);
}
.includes h3 {
  font-size: 24px;
}
.includes ul {
  display: grid;
  gap: 28px clamp(24px, 3vw, 44px);
  margin-top: 28px;
}
.includes strong {
  display: block;
  font-weight: 600;
}
.includes span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
@media (min-width: 640px) {
  .includes ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1000px) {
  .includes ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 合作流程：横向滑动的卡片 ---------- */

.process .head {
  text-align: left;
}
.process .head__lede {
  margin-inline: 0;
}
.rail {
  --edge: max(var(--gutter), calc((100vw - 1200px) / 2));
}
.rail__track {
  display: flex;
  gap: 20px;
  padding: 4px var(--edge) 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rail__track::-webkit-scrollbar {
  display: none;
}
.stepcard {
  flex: 0 0 min(78vw, 372px);
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: clamp(26px, 2.6vw, 34px);
  border-radius: var(--radius-l);
  background: var(--fog);
  scroll-snap-align: start;
}
.stepcard__no {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.stepcard h3 {
  margin-top: 8px;
  font-size: clamp(26px, 2.4vw, 32px);
}
.stepcard__desc {
  margin-top: 16px;
  color: var(--ink-2);
}
.stepcard__out {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  font-weight: 600;
}
.stepcard__out span {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-3);
}
.rail__nav {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.paddle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e8e8ed;
  color: rgba(0, 0, 0, 0.64);
  transition:
    background-color 0.25s,
    opacity 0.25s;
}
.paddle:hover:not([disabled]) {
  background: #dcdce1;
}
.paddle[disabled] {
  opacity: 0.36;
  cursor: default;
}
.paddle .chev {
  width: 8px;
  height: 14px;
}
.paddle[data-rail-prev] .chev {
  transform: rotate(180deg);
}

/* ---------- 其他服务 ---------- */

.services__list {
  display: grid;
  gap: 20px;
}
.services__list li {
  padding: clamp(26px, 2.8vw, 40px);
  border-radius: var(--radius-m);
  background: #fff;
}
.services__list h3 {
  font-size: clamp(21px, 2vw, 26px);
}
.services__list p {
  margin-top: 10px;
  color: var(--ink-2);
}
@media (min-width: 760px) {
  .services__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.contact__grid {
  display: grid;
  gap: 20px;
  max-width: 1040px;
  margin-inline: auto;
}
.contact__grid > :only-child {
  width: min(100%, 680px);
  margin-inline: auto;
}
@media (min-width: 900px) {
  .contact__grid:has(.contact__direct) {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    align-items: start;
  }
}
.form {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-l);
  background: var(--night);
}
.form__row {
  display: grid;
  gap: 18px;
}
@media (min-width: 560px) {
  .form__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.field {
  display: grid;
  gap: 8px;
}
.field > span {
  font-size: 12px;
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--hair-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-dark);
  font-size: 17px;
  line-height: 1.4;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea {
  min-height: 7.5em;
  resize: vertical;
}
.field ::placeholder {
  color: #6e6e73;
}
.field select {
  padding-right: 40px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23a1a1a6' stroke-width='1.5'/%3E%3C/svg%3E")
      right 16px center / 12px no-repeat,
    rgba(255, 255, 255, 0.04);
}
.field select option {
  color: var(--ink);
  background: #fff;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--link-dark);
  box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.28);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 6px;
}
.form__status {
  font-size: 14px;
  color: #ff6961;
}
.form__done {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 32px;
  border-radius: inherit;
  background: var(--night);
  text-align: center;
}
.form__done[hidden] {
  display: none;
}
.form__done h3 {
  font-size: 28px;
}
.form__done p {
  color: var(--on-dark-2);
}
.contact__direct {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-l);
  background: var(--night);
}
.contact__direct h3 {
  font-size: 21px;
}
.contact__direct dl {
  margin-top: 14px;
}
.contact__direct dl > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--hair-dark);
}
.contact__direct dt {
  font-size: 12px;
  color: var(--ink-3);
}
.contact__direct a:hover {
  color: var(--link-dark);
}
.contact__qr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--on-dark-2);
}
.contact__qr img {
  width: 104px;
  height: 104px;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

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

.footer {
  padding: 28px 0 24px;
  background: var(--fog);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.6;
}
.footer__note {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hair);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--hair);
}
.footer h3 {
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--ink);
}
.footer li {
  padding: 3px 0;
}
.footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding-top: 16px;
}

/* ---------- 案例详情 ---------- */

.workhead {
  padding: calc(48px + clamp(36px, 5vw, 72px)) 0 clamp(56px, 7vw, 96px);
  background: var(--fog);
  text-align: center;
  overflow: hidden;
}
.workhead__copy > * {
  animation: fade-up 1s var(--ease) both;
}
.workhead .eyebrow {
  margin-top: clamp(24px, 3vw, 40px);
}
.workhead h1 {
  margin-top: 8px;
  font-size: clamp(38px, 6.2vw, 80px);
  line-height: 1.1;
  letter-spacing: -0.018em;
}
.workhead__tagline {
  max-width: 30em;
  margin: clamp(14px, 1.8vw, 22px) auto 0;
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.5;
  color: var(--ink-2);
}
.workhead .cta {
  margin-top: clamp(22px, 2.4vw, 32px);
  font-size: clamp(17px, 1.5vw, 19px);
}
.workhead__visual {
  max-width: 1120px;
  margin-top: clamp(44px, 5.6vw, 80px);
  animation: rise-in 1.3s var(--ease) 0.25s both;
}
.workhead--bare {
  min-height: 72vh;
}

.facts {
  border-bottom: 1px solid var(--hair);
}
.facts__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px 32px;
  padding-block: clamp(28px, 3.4vw, 44px);
}
.facts dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-3);
}
.facts dd {
  margin-top: 4px;
  font-weight: 600;
}
.facts__run .run__days {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.story > .wrap {
  max-width: 980px;
}
.story__summary {
  max-width: 27em;
  font-size: clamp(21px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.008em;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px 32px;
  margin-top: clamp(40px, 5vw, 72px);
}
.metrics dd {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.metrics dt {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.story__block {
  display: grid;
  gap: 16px;
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--hair);
}
.story__block > h2 {
  font-size: clamp(21px, 2vw, 26px);
}
@media (min-width: 834px) {
  .story__block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr);
    gap: 48px;
  }
}
.prose {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
}
.prose > * + * {
  margin-top: 1em;
}
.prose h3 {
  margin-top: 1.7em;
  font-size: 1.12em;
}
.prose h3:first-child {
  margin-top: 0;
}
.prose ul {
  display: grid;
  gap: 6px;
}
.prose li {
  position: relative;
  padding-left: 20px;
}
.prose li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.74em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-3);
}
.features {
  display: grid;
  gap: 12px;
}
.features li {
  padding: 22px 24px;
  border-radius: var(--radius-m);
  background: var(--fog);
}
.features h3 {
  font-size: 17px;
}
.features p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-2);
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stack li {
  padding: 6px 14px;
  border-radius: 980px;
  background: var(--fog);
  font-size: 14px;
}

.gallery__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px);
}
.gallery__item {
  flex: 0 1 100%;
  display: block;
  cursor: zoom-in;
}
.gallery__item--phone {
  flex-basis: calc(50% - 20px);
  max-width: 260px;
}
.gallery__item .frame {
  transition: transform 0.7s var(--ease);
}
.gallery__item .frame--browser {
  box-shadow: var(--shadow-soft);
}
.gallery__item:hover .frame {
  transform: translateY(-6px);
}
.gallery__cap {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-2);
  text-align: center;
}
@media (min-width: 760px) {
  .gallery__item {
    flex-basis: calc(50% - 20px);
  }
  .gallery__item--phone {
    flex-basis: 22%;
  }
}

.nextwork {
  padding: 12px;
}
.nextwork__tile {
  min-height: 0;
  padding-block: clamp(56px, 7vw, 96px);
  transition: filter 0.4s;
}
.nextwork__tile:hover {
  filter: brightness(0.97);
}
.nextwork__tile.tile--dark:hover {
  filter: brightness(1.35);
}

/* ---------- 大图查看 ---------- */

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 64px clamp(12px, 6vw, 88px) 32px;
  border: 0;
  background: rgba(0, 0, 0, 0.92);
  color: var(--on-dark);
}
.lightbox[open] {
  display: grid;
  place-items: center;
}
.lightbox::backdrop {
  background: transparent;
}
.lightbox figure {
  display: grid;
  gap: 14px;
  justify-items: center;
  max-height: 100%;
  min-height: 0;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100dvh - 150px);
  border-radius: 10px;
  object-fit: contain;
}
.lightbox figcaption {
  font-size: 14px;
  color: var(--on-dark-2);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(66, 66, 69, 0.72);
  font-size: 15px;
  line-height: 1;
  transition: background-color 0.25s;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(99, 99, 102, 0.9);
}
.lightbox__close {
  top: 16px;
  right: clamp(12px, 3vw, 28px);
}
.lightbox__nav {
  top: 50%;
  font-size: 24px;
  transform: translateY(-50%);
}
.lightbox__nav--prev {
  left: clamp(8px, 2vw, 24px);
}
.lightbox__nav--next {
  right: clamp(8px, 2vw, 24px);
}

/* ---------- 动效 ---------- */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.965);
  }
}
@keyframes progress {
  to {
    transform: translateX(0);
  }
}
@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  80%,
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .dot.is-active i {
    animation: none;
    transform: none;
  }
}

@media print {
  .nav,
  .lightbox,
  .exhibit__nav,
  .rail__nav {
    display: none;
  }
}
