/* ==========================================================================
   个人主页名片 · 官网
   纯 HTML / CSS / JS，无第三方框架
   ========================================================================== */

/* ---------------------------------------------------------------- Tokens */
:root {
  --cream: #FBFAF7;
  --cream-2: #F6F1E7;
  --paper: #FFFFFF;
  --ink: #12161D;
  --ink-2: #3A4150;
  --muted: #6B7280;
  --faint: #9AA1AB;
  --line: #E8E2D5;
  --line-soft: #F0EBE0;
  --navy: #16324F;
  --navy-deep: #0D1B2A;
  --navy-2: #081420;
  --gold: #A8812F;
  --gold-2: #C9A45C;
  --gold-soft: #F3EADA;
  --gold-ink: #8A6720;
  --danger: #B3261E;

  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;

  --shadow-s: 0 2px 10px rgba(22, 24, 29, .05);
  --shadow-m: 0 18px 50px rgba(22, 24, 29, .08);
  --shadow-l: 0 40px 90px rgba(13, 27, 42, .22);

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
    "SimSun", Georgia, serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
  --gutter: clamp(20px, 5vw, 24px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, p, figure, blockquote {
  margin: 0;
}

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

::selection {
  background: rgba(201, 164, 92, .35);
}

/* ---------------------------------------------------------------- Helpers */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.container {
  width: min(1200px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 132px);
}

.section--warm {
  background: var(--cream-2);
}

.section--dark {
  background: var(--navy-deep);
  color: var(--cream);
  overflow: hidden;
}

.section--dark::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  left: -280px;
  top: -260px;
  background: radial-gradient(circle, rgba(201, 164, 92, .16), rgba(201, 164, 92, 0) 64%);
  pointer-events: none;
}

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

.section-head .display {
  margin-top: 0;
}

.section-head .lead {
  margin-top: 20px;
  max-width: 620px;
}

.display {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.16;
  letter-spacing: -.03em;
  font-weight: 700;
  color: var(--ink);
}

.section-head--dark .eyebrow,
.section--cta .eyebrow {
  color: var(--gold-2);
}

.section-head--dark .display {
  color: var(--cream);
}

.section-head--dark .lead {
  color: rgba(255, 255, 255, .6);
}

.lead {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.85;
  color: var(--ink-2);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.eyebrow__line {
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  transition: top .25s var(--ease);
}

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

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
    background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform .4s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 16px 34px rgba(22, 50, 79, .18);
}

.btn--primary:hover {
  background: #1B3E61;
  box-shadow: 0 20px 44px rgba(22, 50, 79, .24);
}

.btn--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--gold-2);
  background: #fff;
}

.btn--gold {
  background: linear-gradient(135deg, #C9A45C, #A8812F);
  color: #fff;
  box-shadow: 0 18px 40px rgba(168, 129, 47, .28);
}

.btn--gold:hover {
  box-shadow: 0 24px 52px rgba(168, 129, 47, .36);
}

.btn--ghost-light {
  border: 1px solid rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .4);
}

.btn--sm {
  height: 44px;
  padding: 0 18px;
  font-size: 13.5px;
}

.btn--sm .icon {
  width: 16px;
  height: 16px;
}

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 247, .86);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

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

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1;
}

.brand__mark::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-2);
  border: 2px solid var(--cream);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
}

.brand__text small {
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: .22em;
  color: var(--faint);
}

.nav {
  display: flex;
  gap: 34px;
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color .2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

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

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
}

.menu-btn span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}

.menu-btn span:nth-child(1) {
  top: 19px;
}

.menu-btn span:nth-child(2) {
  top: 25px;
}

body.nav-open .menu-btn span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

body.nav-open .menu-btn span:nth-child(2) {
  top: 22px;
  transform: rotate(-45deg);
}

/* ---------------------------------------------------------------- Mobile nav */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  background: rgba(251, 250, 247, .98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  overflow-y: auto;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
}

.mobile-nav__links a {
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.mobile-nav__links a:active {
  color: var(--gold);
}

.mobile-nav__foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
}

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 92px));
  padding-bottom: clamp(56px, 8vw, 100px);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -420px;
  right: -240px;
  width: 960px;
  height: 960px;
  background: radial-gradient(circle, rgba(201, 164, 92, .22), rgba(201, 164, 92, 0) 62%);
  pointer-events: none;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 50, 79, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 50, 79, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 68% 22%, #000 0%, transparent 62%);
  mask-image: radial-gradient(ellipse at 68% 22%, #000 0%, transparent 62%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: clamp(40px, 5.4vw, 74px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 700;
}

.hero__title em {
  position: relative;
  font-family: var(--font-serif);
  font-style: normal;
  color: var(--gold);
  white-space: nowrap;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .02em;
  height: .1em;
  background: rgba(168, 129, 47, .18);
  z-index: -1;
}

.hero__lead {
  margin-top: 26px;
  max-width: 540px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.9;
  color: var(--ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin-top: 34px;
  list-style: none;
  font-size: 13.5px;
  color: var(--muted);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__meta .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-stage {
  position: relative;
  width: 340px;
  max-width: 100%;
}

/* ---------------------------------------------------------------- Phone */
.phone {
  position: relative;
  width: 318px;
  max-width: 100%;
  margin-inline: auto;
  padding: 9px;
  border-radius: 52px;
  background: linear-gradient(150deg, #35435B 0%, #0E1C2C 52%, #060C15 100%);
  box-shadow: var(--shadow-l), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.phone__frame {
  position: relative;
  border-radius: 44px;
  overflow: hidden;
  background: var(--cream);
}

.phone__screen {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: var(--cream);
}

.phone__island {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 6;
  width: 86px;
  height: 22px;
  border-radius: 999px;
  background: #05090F;
  transform: translateX(-50%);
}

/* 手机里的迷你小程序 ------------------------------------------------ */
.mini {
  position: relative;
  height: 100%;
  background: var(--cream);
  font-family: var(--font-sans);
  color: var(--ink);
}

.mini__top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 16px 0;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.mini__capsule {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(8, 12, 18, .26);
  border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.mini__capsule i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
}

.mini__capsule b {
  width: 9px;
  height: 9px;
  margin-left: 2px;
  border-radius: 50%;
  border: 1.4px solid rgba(255, 255, 255, .92);
}

.mini__video {
  position: relative;
  height: 212px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 100% at 18% 6%, rgba(201, 164, 92, .26), transparent 58%),
    radial-gradient(90% 90% at 82% 26%, rgba(64, 116, 160, .32), transparent 62%),
    linear-gradient(160deg, #22344A 0%, #0F1B2A 58%, #070D16 100%);
}

.mini__video::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(62% 62% at 50% 42%, #000 0%, transparent 82%);
  mask-image: radial-gradient(62% 62% at 50% 42%, #000 0%, transparent 82%);
}

.mini__video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 42%, rgba(0, 0, 0, 0) 0%, rgba(5, 10, 18, .4) 100%);
}

.mini__play {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #101C2B;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
}

.mini__play .icon {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.mini__vmeta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini__vlabel {
  font-size: 10px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .88);
}

.mini__pills {
  display: flex;
  gap: 6px;
}

.mini__pills i {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(10, 14, 22, .5);
  color: #fff;
  font-size: 9px;
  font-style: normal;
}

.mini__card {
  position: relative;
  z-index: 3;
  margin: -26px 12px 0;
  padding: 14px 14px 0;
  border: 1px solid rgba(236, 231, 221, .9);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(22, 24, 29, .1);
}

.mini__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1E3C5C, #0D1B2A);
  color: var(--gold-2);
  font-family: var(--font-serif);
  font-size: 18px;
  border: 2px solid var(--gold-soft);
  box-shadow: 0 0 0 1px rgba(168, 129, 47, .35);
  flex-shrink: 0;
}

.mini__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mini__who strong {
  font-size: 14.5px;
  letter-spacing: .01em;
}

.mini__who > span {
  font-size: 9px;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #EEF6F0;
  color: #2F7D4F;
  font-size: 8.5px;
  font-style: normal;
  width: fit-content;
}

.mini__badge i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2F7D4F;
}

.mini__tagline {
  margin-top: 10px;
  font-size: 9.5px;
  line-height: 1.65;
  color: var(--muted);
}

.mini__acts {
  display: flex;
  margin: 12px -14px 0;
  border-top: 1px solid var(--line-soft);
}

.mini__acts span {
  position: relative;
  flex: 1;
  padding: 9px 0;
  text-align: center;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--navy);
}

.mini__acts span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  width: 1px;
  height: 56%;
  background: var(--line-soft);
}

.mini__stats {
  display: flex;
  margin: 12px 18px 0;
}

.mini__stats > div {
  position: relative;
  flex: 1;
  text-align: center;
}

.mini__stats > div + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  width: 1px;
  height: 76%;
  background: var(--line);
}

.mini__stats p {
  line-height: 1;
}

.mini__stats b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
}

.mini__stats small {
  margin-left: 1px;
  font-size: 8px;
  color: var(--gold);
}

.mini__stats span {
  display: block;
  margin-top: 4px;
  font-size: 7.5px;
  color: var(--faint);
}

.mini__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px 0;
}

.mini__chips span {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 8px;
  color: var(--ink-2);
}

.mini__sec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 8px;
}

.mini__sec span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--gold);
}

.mini__sec em {
  font-size: 8px;
  font-style: normal;
  color: var(--faint);
}

.mini__service {
  margin: 0 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.mini__svc-head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

.mini__svc-head span {
  font-size: 8px;
  color: var(--faint);
}

.mini__service p {
  margin-top: 4px;
  font-size: 8.5px;
  color: var(--muted);
}

.mini__price {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
}

.mini__price small {
  margin-left: 2px;
  font-size: 8px;
  font-weight: 400;
  color: var(--faint);
}

.mini__service ul {
  margin-top: 8px;
  list-style: none;
}

.mini__service li {
  position: relative;
  padding-left: 12px;
  font-size: 8px;
  line-height: 1.9;
  color: var(--ink-2);
}

.mini__service li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-size: 7px;
  color: var(--gold);
}

.mini__bar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(22, 24, 29, .14);
}

.mini__bar span {
  flex: 1;
  padding: 6px 0;
  border-radius: 999px;
  text-align: center;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.mini__bar span:first-child {
  background: var(--navy);
  color: #fff;
}

.mini__bar span:last-child {
  background: var(--gold-soft);
  color: #7A5C1E;
}

/* ---------------------------------------------------------------- Phone caption */
.phone-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--faint);
}

.phone-caption span {
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: .55;
}

/* ---------------------------------------------------------------- Stats */
.stats {
  position: relative;
  padding-block: clamp(52px, 6vw, 76px) clamp(40px, 5vw, 56px);
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}

.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(255, 255, 255, .05), transparent 70%);
  pointer-events: none;
}

.stats__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  position: relative;
  text-align: center;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 6%;
  width: 1px;
  height: 88%;
  background: rgba(255, 255, 255, .12);
}

.stat__num {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.2vw, 64px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}

.stat__num small {
  margin-left: 6px;
  font-family: var(--font-sans);
  font-size: .3em;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .55);
}

.stat__label {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .6);
}

.stats__note {
  position: relative;
  z-index: 1;
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
}

/* ---------------------------------------------------------------- Problem */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
}

.problem {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
  overflow: hidden;
}

.problem__mark {
  position: absolute;
  right: 22px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(179, 38, 30, .25);
  border-radius: 50%;
  color: var(--danger);
  font-size: 14px;
}

.problem__kicker {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--gold-ink);
}

.problem h3 {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.45;
}

.problem > p:not(.problem__kicker):not(.problem__result) {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.problem__result {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

.problem__turn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(40px, 5vw, 60px);
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--ink);
}

.problem__turn .icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
  animation: nudge 2.6s ease-in-out infinite;
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ---------------------------------------------------------------- Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
}

.feature {
  position: relative;
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .3s ease, box-shadow .5s var(--ease);
}

.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 164, 92, .55);
  box-shadow: var(--shadow-m);
}

.feature__no {
  position: absolute;
  right: 24px;
  top: 16px;
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.02em;
  color: rgba(22, 50, 79, .07);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold);
}

.feature__icon .icon {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 19px;
}

.feature p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.feature-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 13.5px;
  color: var(--muted);
}

.feature-note .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

/* ---------------------------------------------------------------- Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "head phone"
    "tabs phone";
  column-gap: clamp(32px, 5vw, 72px);
  row-gap: clamp(28px, 3.4vw, 44px);
  align-items: start;
}

.showcase-grid > .section-head {
  grid-area: head;
}

.showcase-tabs {
  grid-area: tabs;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 620px;
}

.tab {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid transparent;
  border-radius: 18px;
  text-align: left;
  color: rgba(255, 255, 255, .55);
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}

.tab:hover {
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .82);
}

.tab.is-active {
  border-color: rgba(201, 164, 92, .38);
  background: rgba(255, 255, 255, .06);
  color: var(--cream);
}

.tab__no {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--gold-2);
  opacity: .85;
}

.tab__body strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.tab__body small {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .45);
}

.tab.is-active .tab__body small {
  color: rgba(255, 255, 255, .64);
}

.tab__arrow {
  width: 18px;
  height: 18px;
  color: var(--gold-2);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s ease, transform .3s var(--ease);
}

.tab.is-active .tab__arrow {
  opacity: 1;
  transform: none;
}

.showcase-stage {
  position: relative;
  grid-area: phone;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.phone--showcase {
  width: 320px;
  box-shadow: 0 50px 110px rgba(0, 0, 0, .55);
}

.phone--showcase .phone__screen {
  height: 620px;
}

.showcase-note {
  font-size: 11.5px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .45);
}

/* 小程序页面截图 ------------------------------------------------ */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
  animation: screen-in .45s var(--ease) both;
}

.screen[hidden] {
  display: none;
}

@keyframes screen-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.m-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  background: var(--cream);
}

.m-capsule {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid rgba(22, 24, 29, .14);
  border-radius: 999px;
  background: rgba(22, 24, 29, .04);
}

.m-capsule i {
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: var(--ink-2);
}

.m-capsule b {
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border: 1.3px solid var(--ink-2);
  border-radius: 50%;
}

.m-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 10px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--cream);
  font-size: 11px;
}

.m-nav strong {
  font-size: 11px;
  font-weight: 600;
}

.m-nav__back {
  font-size: 17px;
  line-height: 1;
  color: var(--ink-2);
}

.m-hero {
  background: var(--cream);
}

.m-video {
  position: relative;
  height: 176px;
  margin: 0 10px;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 18% 6%, rgba(201, 164, 92, .24), transparent 58%),
    radial-gradient(90% 90% at 82% 26%, rgba(64, 116, 160, .3), transparent 62%),
    linear-gradient(160deg, #22344A 0%, #0F1B2A 58%, #070D16 100%);
}

.m-video::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(62% 62% at 50% 42%, #000 0%, transparent 82%);
  mask-image: radial-gradient(62% 62% at 50% 42%, #000 0%, transparent 82%);
}

.m-play {
  position: absolute;
  inset: 0;
  width: 40px;
  height: 40px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #101C2B;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}

.m-play .icon {
  width: 15px;
  height: 15px;
  margin-left: 2px;
}

.m-vlabel {
  position: absolute;
  left: 10px;
  bottom: 26px;
  font-size: 9px;
  color: rgba(255, 255, 255, .9);
}

.m-idcard {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: -18px 16px 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 24, 29, .1);
}

.m-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1E3C5C, #0D1B2A);
  color: var(--gold-2);
  font-family: var(--font-serif);
  font-size: 15px;
  flex-shrink: 0;
}

.m-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.m-who strong {
  font-size: 12px;
}

.m-who > span {
  font-size: 8px;
  color: var(--faint);
}

.m-who em {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #EEF6F0;
  color: #2F7D4F;
  font-size: 7.5px;
  font-style: normal;
  width: fit-content;
}

.m-who em i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #2F7D4F;
}

.m-tagline {
  margin: 10px 18px 0;
  font-size: 8.5px;
  line-height: 1.65;
  color: var(--muted);
}

.m-stats {
  display: flex;
  margin: 12px 18px 0;
}

.m-stats > div {
  position: relative;
  flex: 1;
  text-align: center;
}

.m-stats > div + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  width: 1px;
  height: 76%;
  background: var(--line);
}

.m-stats b {
  font-size: 13px;
  color: var(--navy);
}

.m-stats b small {
  margin-left: 1px;
  font-size: 7px;
  color: var(--gold);
}

.m-stats span {
  display: block;
  margin-top: 3px;
  font-size: 6.5px;
  color: var(--faint);
}

.m-pad {
  padding: 0 16px;
}

.m-sec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 8px;
  font-size: 8.5px;
  letter-spacing: .14em;
  color: var(--gold);
  font-weight: 600;
}

.m-sec em {
  font-style: normal;
  font-size: 7.5px;
  letter-spacing: 0;
  color: var(--faint);
  font-weight: 400;
}

.m-svc {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.m-svc--full {
  margin-bottom: 10px;
}

.m-svc--hot {
  border-color: #E2CE9E;
  background: linear-gradient(#FDF9F0, #fff 55%);
}

.m-svc__head {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
}

.m-svc__head span {
  font-size: 7.5px;
  color: var(--faint);
}

.m-svc p {
  margin-top: 3px;
  font-size: 8px;
  color: var(--muted);
}

.m-price {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
}

.m-price small {
  margin-left: 2px;
  font-size: 7px;
  font-weight: 400;
  color: var(--faint);
}

.m-svc ul {
  margin-top: 7px;
  list-style: none;
}

.m-svc li {
  position: relative;
  padding-left: 11px;
  font-size: 7.5px;
  line-height: 1.95;
  color: var(--ink-2);
}

.m-svc li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-size: 6.5px;
  color: var(--gold);
}

.m-case {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.m-case__cover {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  flex-shrink: 0;
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(201, 164, 92, .4), transparent 60%),
    linear-gradient(150deg, #22344A, #0D1928);
}

.m-case__body {
  min-width: 0;
}

.m-case__body strong {
  display: block;
  font-size: 8px;
  line-height: 1.5;
  color: var(--ink);
}

.m-case__body span {
  display: block;
  margin-top: 3px;
  font-size: 7px;
  color: var(--faint);
}

.m-title {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -.01em;
}

.m-sub {
  margin-top: 6px;
  font-size: 8.5px;
  line-height: 1.7;
  color: var(--muted);
}

.m-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 24px rgba(22, 24, 29, .12);
}

.m-bar span {
  flex: 1;
  padding: 6px 0;
  border-radius: 999px;
  text-align: center;
  font-size: 8px;
  font-weight: 600;
  color: var(--ink-2);
}

.m-bar span:first-child {
  background: var(--navy);
  color: #fff;
}

.m-bar span:last-child {
  background: var(--gold-soft);
  color: #7A5C1E;
}

/* 案例页 */
.m-cover {
  position: relative;
  height: 172px;
  overflow: hidden;
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(201, 164, 92, .3), transparent 58%),
    radial-gradient(90% 90% at 85% 26%, rgba(64, 116, 160, .32), transparent 62%),
    linear-gradient(150deg, #22344A 0%, #0D1928 72%);
}

.m-cover::after {
  content: "案例";
  position: absolute;
  right: 14px;
  bottom: 6px;
  font-family: var(--font-serif);
  font-size: 26px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .16);
}

.m-sheet {
  position: relative;
  z-index: 2;
  margin-top: -20px;
  padding: 14px 16px 16px;
  border-radius: 18px 18px 0 0;
  background: var(--cream);
}

.m-tags {
  display: flex;
  gap: 6px;
}

.m-tags em {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #8A6720;
  font-size: 7.5px;
  font-style: normal;
}

.m-tags span {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 7.5px;
  color: var(--faint);
}

.m-sheet .m-title {
  margin-top: 10px;
  font-size: 13.5px;
}

.m-client {
  margin-top: 4px;
  font-size: 8px;
  color: var(--faint);
}

.m-results {
  display: flex;
  margin-top: 12px;
  padding: 10px 0;
  border-block: 1px solid var(--line);
}

.m-results > div {
  flex: 1;
}

.m-results b {
  display: block;
  font-size: 14px;
  color: var(--navy);
}

.m-results span {
  font-size: 6.5px;
  color: var(--faint);
}

.m-block {
  margin-top: 12px;
}

.m-block h4 {
  margin-bottom: 4px;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--gold);
}

.m-block p {
  font-size: 8px;
  line-height: 1.8;
  color: var(--ink-2);
}

/* 预约页 */
.m-form {
  margin-top: 12px;
}

.m-form label {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}

.m-form label span {
  display: block;
  margin-bottom: 3px;
  font-size: 7.5px;
  color: var(--faint);
}

.m-form label em {
  font-size: 9px;
  font-style: normal;
  color: #C2C7CE;
}

.m-form__area em {
  padding-bottom: 14px;
}

.m-agree {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 7px;
  line-height: 1.6;
  color: var(--faint);
}

.m-agree i {
  width: 9px;
  height: 9px;
  margin-top: 1px;
  border: 1px solid var(--line);
  border-radius: 2px;
  flex-shrink: 0;
}

.m-agree em {
  font-style: normal;
  color: var(--navy);
}

.m-submit {
  display: grid;
  place-items: center;
  height: 34px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #C09A48, #A8812F);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.m-hint {
  margin-top: 8px;
  text-align: center;
  font-size: 6.5px;
  color: var(--faint);
}

/* ---------------------------------------------------------------- Use cases */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
}

.usecase {
  padding: 28px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-m);
  background: var(--paper);
  transition: transform .5s var(--ease), border-color .3s ease, box-shadow .5s var(--ease);
}

.usecase:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow-s);
}

.usecase__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
}

.usecase__icon .icon {
  width: 19px;
  height: 19px;
}

.usecase h3 {
  font-size: 17px;
}

.usecase p {
  margin-top: 9px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------------------------------------------------------------- Compare */
.compare {
  margin-top: clamp(36px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
  overflow: hidden;
}

.compare__row {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 1.35fr;
}

.compare__row + .compare__row {
  border-top: 1px solid var(--line-soft);
}

.compare__row > span {
  padding: 20px 26px;
  font-size: 14.5px;
  line-height: 1.65;
}

.compare__row--head > span {
  background: var(--cream-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--muted);
}

.compare__label {
  font-size: 13.5px !important;
  color: var(--muted);
}

.compare__old {
  color: var(--faint);
  text-decoration: line-through;
  text-decoration-color: rgba(179, 38, 30, .28);
  text-decoration-thickness: 1px;
}

.compare__new {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(201, 164, 92, .07);
  color: var(--ink);
}

.compare__new .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.compare__best {
  color: var(--gold-ink) !important;
  font-weight: 600;
  background: rgba(201, 164, 92, .07);
}

/* ---------------------------------------------------------------- Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 28px;
  border-top: 1px solid var(--line);
}

.step::before {
  content: "";
  position: absolute;
  left: 28px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.step__no {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--gold);
}

.step__body h3 {
  margin-top: 12px;
  font-size: 22px;
}

.step__body p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------------------------------------------------------------- Quotes */
.section--quotes {
  background: var(--cream-2);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 5vw, 56px);
}

.quote {
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper);
}

.quote__mark {
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: .8;
  color: var(--gold-2);
}

.quote blockquote {
  flex: 1;
  margin-top: 14px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ink);
}

.quote figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.quote figcaption strong {
  font-size: 14px;
}

.quote figcaption span {
  font-size: 12px;
  color: var(--faint);
}

/* ---------------------------------------------------------------- FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 90px);
}

.faq-intro__desc {
  margin-top: 20px;
  max-width: 320px;
  color: var(--muted);
}

.faq-intro .btn {
  margin-top: 28px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

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

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 2px;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

.faq-q > span {
  flex: 1;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink-2);
  transition: transform .35s var(--ease), background-color .3s ease;
}

.faq-icon::before {
  left: 0;
  top: 8px;
  width: 18px;
  height: 1.5px;
}

.faq-icon::after {
  left: 8px;
  top: 0;
  width: 1.5px;
  height: 18px;
}

.faq-item.is-open .faq-icon::after {
  transform: scaleY(0);
}

.faq-item.is-open .faq-icon::before {
  background: var(--gold);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}

.faq-a > div {
  overflow: hidden;
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a p {
  max-width: 600px;
  margin-bottom: 24px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------------------------------------------------------------- CTA */
.section--cta {
  position: relative;
  background: var(--navy-deep);
  color: var(--cream);
  overflow: hidden;
}

.section--cta::before {
  content: "";
  position: absolute;
  right: -220px;
  top: -200px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(201, 164, 92, .22), rgba(201, 164, 92, 0) 62%);
  pointer-events: none;
}

.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.section--cta .display {
  font-size: clamp(36px, 4.6vw, 58px);
  color: var(--cream);
}

.section--cta .lead {
  margin-top: 22px;
  max-width: 520px;
  color: rgba(255, 255, 255, .6);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.cta-tel {
  margin-top: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .42);
}

.cta-tel a {
  color: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.qr-cards {
  display: flex;
  gap: 18px;
}

.qr-card {
  width: 236px;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
  color: var(--ink);
}

.qr-card__img {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 14px;
  background: #F4F1E9;
  overflow: hidden;
}

.qr-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-card__img--crop img {
  object-fit: cover;
  object-position: 50% 66%;
}

.qr-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 6px 6px;
}

.qr-card strong {
  font-size: 14px;
}

.qr-card span {
  font-size: 11.5px;
  color: var(--faint);
}

/* ---------------------------------------------------------------- Footer */
.site-footer {
  padding-block: clamp(56px, 7vw, 88px) 28px;
  background: var(--navy-2);
  color: rgba(255, 255, 255, .55);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer__brand .brand__mark {
  background: rgba(255, 255, 255, .08);
  color: var(--gold-2);
}

.footer__brand .brand__mark::after {
  border-color: var(--navy-2);
}

.footer__brand .brand__text strong {
  color: #fff;
}

.footer__brand p {
  max-width: 280px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .42);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h3 {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .9);
}

.footer__col a,
.footer__col button,
.footer__col span {
  font-size: 13px;
  line-height: 1.7;
  text-align: left;
  color: rgba(255, 255, 255, .48);
  transition: color .2s ease;
}

.footer__col a:hover,
.footer__col button:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12px;
  color: rgba(255, 255, 255, .3);
}

/* ---------------------------------------------------------------- Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 20, .64);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fade-in .25s ease;
}

.modal__dialog {
  position: relative;
  width: min(420px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 34px 32px 28px;
  border-radius: 26px;
  background: var(--cream);
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .4);
  animation: modal-in .35s var(--ease);
}

.modal__dialog:focus {
  outline: none;
}

.modal__dialog .eyebrow {
  justify-content: center;
  margin-bottom: 10px;
}

.modal__title {
  font-size: 26px;
  letter-spacing: -.02em;
}

.modal__sub {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.modal__sub[hidden] {
  display: none;
}

.modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(22, 24, 29, .05);
  color: var(--ink-2);
  transition: background-color .2s ease;
}

.modal__close:hover {
  background: rgba(22, 24, 29, .1);
}

.modal__close .icon {
  width: 16px;
  height: 16px;
}

.modal__tabs {
  display: inline-flex;
  padding: 4px;
  margin: 22px 0 18px;
  border-radius: 999px;
  background: #EFE9DD;
}

.modal__tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.modal__tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.modal__qr {
  position: relative;
  display: block;
  width: 240px;
  height: 240px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.modal__qr[hidden] {
  display: none;
}

.modal__qr img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal__qr--crop img {
  object-fit: cover;
  object-position: 50% 66%;
}

.modal__hint {
  max-width: 280px;
  margin: 16px auto 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--faint);
}

.modal__hint[hidden] {
  display: none;
}

.modal__copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  color: var(--ink-2);
  transition: border-color .2s ease;
}

.modal__copy:hover {
  border-color: var(--gold-2);
}

.modal__copy .icon {
  width: 14px;
  height: 14px;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------------------------------------------------------------- Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 300;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 13.5px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  transform: translateX(-50%);
  animation: toast-in .3s var(--ease);
}

.toast[hidden] {
  display: none;
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ---------------------------------------------------------------- Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

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

.reveal--d1 { transition-delay: .1s; }
.reveal--d2 { transition-delay: .2s; }
.reveal--d3 { transition-delay: .3s; }

/* ---------------------------------------------------------------- Hero entrance */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.hero__copy > .eyebrow { animation: rise .8s .04s var(--ease) both; }
.hero__copy > .hero__title { animation: rise .9s .12s var(--ease) both; }
.hero__copy > .hero__lead { animation: rise .9s .22s var(--ease) both; }
.hero__copy > .hero__actions { animation: rise .9s .32s var(--ease) both; }
.hero__copy > .hero__meta { animation: rise .9s .42s var(--ease) both; }
.hero__visual { animation: rise 1.1s .18s var(--ease) both; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .nav { gap: 26px; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 640px; }
  .hero__visual { margin-top: clamp(36px, 6vw, 64px); }
  .phone-stage { width: 100%; }

  .showcase-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "phone"
      "tabs";
    justify-items: center;
  }
  .showcase-grid > .section-head { width: 100%; }
  .showcase-tabs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tab { padding: 18px; }
  .showcase-stage { margin-top: 8px; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { max-width: 520px; }
  .faq-intro__desc { max-width: none; }

  .cta-grid { grid-template-columns: 1fr; }
  .qr-cards { margin-top: 8px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .problem-grid,
  .feature-grid,
  .usecase-grid,
  .quote-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { border-top: 1px solid var(--line); }
  .step__body { padding-bottom: 12px; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }

  .hero__title { font-size: clamp(36px, 9.4vw, 54px); }
  .hero__lead { font-size: 16px; }
  .hero__actions .btn { flex: 1; min-width: 150px; }
  .hero__meta { gap: 12px 18px; font-size: 12.5px; }

  .stats__grid { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .stat:nth-child(3)::before { display: none; }
  .stat__label { font-size: 11px; letter-spacing: .08em; }

  .compare__row--head { display: none; }
  .compare__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 22px;
  }
  .compare__row > span { padding: 2px 0; font-size: 14px; }
  .compare__label { font-size: 12px !important; letter-spacing: .12em; }
  .compare__old::before { content: "旧 · "; color: var(--faint); }
  .compare__new { background: none; padding-left: 0 !important; }
  .compare__new::before { content: "新 · "; color: var(--gold); font-weight: 600; }
  .compare__new .icon { display: none; }

  .cta-actions .btn { flex: 1; min-width: 160px; }
  .qr-cards { flex-wrap: wrap; justify-content: center; }
  .qr-card { width: min(240px, 100%); }

  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 640px) {
  .problem-grid,
  .feature-grid,
  .usecase-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .showcase-tabs { grid-template-columns: 1fr; }
  .tab { grid-template-columns: auto 1fr auto; padding: 16px 18px; }
  .phone--showcase { width: 300px; }
  .phone--showcase .phone__screen { height: 600px; }
  .screen .m-bar { display: none; }

  .problem__turn { font-size: 20px; text-align: left; justify-content: flex-start; }
  .problem__turn .icon { display: none; }

  .modal { padding: 16px; }
  .modal__dialog { padding: 30px 22px 24px; }
  .modal__qr { width: 210px; height: 210px; }
}

@media (max-width: 520px) {
  .header__actions .btn { display: none; }
  .brand__text small { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .phone { width: 300px; }
  .phone__screen { height: 600px; }
  .btn { height: 50px; }
  .faq-q { font-size: 16px; padding: 20px 0; }
}

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

