/* 雾蓝石色 · lawyer-mist-stone · Medical-malpractice-03 移植 */

:root {
  --mist-50: #f4f8fb;
  --mist-100: #e8f0f6;
  --mist-200: #d1e1ed;
  --mist-300: #a8c9db;
  --mist-400: #7aabc5;
  --mist-500: #5690af;
  --mist-600: #437592;
  --mist-700: #385f76;
  --mist-800: #325063;
  --mist-900: #2d4454;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --warm-white: #fcfcfb;
  --warm-off: #f9f9f8;
  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --radius: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;
  --header-h: 4rem;
  --mobile-bar-h: 3.75rem;
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 25, 23, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--stone-800);
  background: var(--warm-off);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--mobile-bar-h) + 1rem);
}

@media (min-width: 768px) {
  body { padding-bottom: 5.5rem; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.25; margin: 0; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) { .wrap { padding: 0 2rem; } }
@media (min-width: 1024px) { .wrap { padding: 0 3rem; } }

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-mist { color: var(--mist-700); }
.text-mist-light { color: var(--mist-300); }

/* Buttons */
.btn-primary,
.btn-outline,
.btn-ghost,
.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--mist-700);
  color: #fff;
  border: 1px solid var(--mist-700);
}
.btn-primary:hover { background: var(--mist-800); border-color: var(--mist-800); }
.btn-outline {
  background: transparent;
  color: var(--mist-700);
  border: 1px solid var(--mist-300);
}
.btn-outline:hover { background: var(--mist-50); border-color: var(--mist-500); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }
.btn-soft {
  background: var(--mist-100);
  color: var(--mist-800);
  border: 1px solid transparent;
}
.btn-soft:hover { background: var(--mist-200); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-block { width: 100%; }
.btn-primary i, .btn-outline i, .btn-ghost i, .btn-soft i { font-size: 1rem; }

/* Header — 子页固定白底；首页透明至滚动 */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(252, 252, 251, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(231, 229, 228, 0.6);
  box-shadow: var(--shadow-sm);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.page-home .site-header {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}
.page-home .site-header.is-scrolled {
  background: rgba(252, 252, 251, 0.95);
  border-bottom-color: rgba(231, 229, 228, 0.6);
  box-shadow: var(--shadow-sm);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}
@media (min-width: 768px) { .nav-row { height: 5rem; } }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.nav-logo-img {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
}
.nav-logo-ico {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--mist-600);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.page-home .site-header:not(.is-scrolled) .nav-logo-ico {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.nav-brand-text { display: flex; flex-direction: column; min-width: 0; }
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--stone-800);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-firm {
  font-size: 0.65rem;
  color: var(--stone-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) {
  .nav-logo-text { font-size: 1.2rem; }
  .nav-firm { font-size: 0.75rem; }
}
.page-home .site-header:not(.is-scrolled) .nav-logo-text { color: #fff; }
.page-home .site-header:not(.is-scrolled) .nav-firm { color: rgba(255, 255, 255, 0.7); }

.nav-desktop { display: none; align-items: center; gap: 0.15rem; }
@media (min-width: 900px) { .nav-desktop { display: flex; } }

.nav-item {
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-600);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-item:hover { background: var(--stone-100); color: var(--stone-900); }
.nav-item.is-active { background: var(--mist-100); color: var(--mist-700); }
.nav-item.is-cta {
  background: var(--mist-700);
  color: #fff;
  border-radius: var(--radius-full);
  margin-left: 0.25rem;
}
.nav-item.is-cta:hover { background: var(--mist-800); color: #fff; }
.page-home .site-header:not(.is-scrolled) .nav-item {
  color: rgba(255, 255, 255, 0.9);
}
.page-home .site-header:not(.is-scrolled) .nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.page-home .site-header:not(.is-scrolled) .nav-item.is-active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.page-home .site-header:not(.is-scrolled) .nav-item.is-cta {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: var(--mist-700);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-phone:hover { background: var(--mist-800); }
@media (min-width: 900px) { .nav-phone { display: inline-flex; } }
.page-home .site-header:not(.is-scrolled) .nav-phone {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.page-home .site-header:not(.is-scrolled) .nav-phone:hover { background: rgba(255, 255, 255, 0.3); }

.nav-mobile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  color: var(--stone-700);
  font-size: 1.25rem;
}
.nav-mobile-btn:hover { background: var(--stone-100); }
@media (min-width: 900px) { .nav-mobile-btn { display: none; } }
.page-home .site-header:not(.is-scrolled) .nav-mobile-btn { color: #fff; }
.page-home .site-header:not(.is-scrolled) .nav-mobile-btn:hover { background: rgba(255, 255, 255, 0.15); }

.mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--warm-white);
  border-bottom: 1px solid var(--stone-200);
  box-shadow: var(--shadow-md);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 0.25rem;
}
.mobile-nav-link {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-700);
}
.mobile-nav-link:hover,
.mobile-nav-link.is-active { background: var(--mist-100); color: var(--mist-700); }
.mobile-nav-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--mist-700);
  color: #fff;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.site-main { min-height: 50vh; }

/* Home hero */
.home-hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
@media (min-width: 768px) { .home-hero { min-height: 720px; } }
@media (min-width: 1024px) { .home-hero { min-height: 780px; } }

.home-hero-bg {
  position: absolute;
  inset: 0;
}
.home-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.home-hero-fallback {
  background: linear-gradient(145deg, var(--mist-900) 0%, var(--mist-700) 45%, var(--stone-800) 100%);
}
.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6));
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 8rem;
  padding-bottom: 4rem;
}
@media (min-width: 768px) {
  .home-hero-inner { padding-top: 10rem; padding-bottom: 6rem; }
}
.home-hero-center {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}
.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}
.badge-dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--mist-300);
}
.home-hero h1 {
  font-size: 1.875rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .home-hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .home-hero h1 { font-size: 3.75rem; } }
.home-hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--mist-200);
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .home-hero-tagline { font-size: 1.5rem; } }
@media (min-width: 1024px) { .home-hero-tagline { font-size: 1.875rem; } }

.home-hero-meta-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
  margin-bottom: 2rem;
  text-align: left;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) { .home-hero-meta-card { padding: 1.5rem; } }
.home-hero-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}
@media (min-width: 640px) {
  .home-hero-meta-grid { grid-template-columns: 1fr 1fr; }
}
.meta-cell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.meta-cell a { color: inherit; }
.meta-cell a:hover { color: var(--mist-200); }
.meta-ico {
  width: 2rem; height: 2rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mist-300);
  flex-shrink: 0;
}
.home-hero-wechat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}
.home-hero-wechat button,
.home-hero-wechat a {
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  cursor: pointer;
}
.home-hero-wechat button:hover,
.home-hero-wechat a:hover { color: var(--mist-200); }

.home-hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}
@media (min-width: 640px) {
  .home-hero-ctas { flex-direction: row; flex-wrap: wrap; }
}

/* Intro */
.intro-section {
  padding: 4rem 0;
  background: var(--warm-white);
}
@media (min-width: 768px) { .intro-section { padding: 6rem 0; } }
.intro-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .intro-grid { flex-direction: row; gap: 4rem; align-items: center; }
}
.intro-copy { flex: 1; max-width: 36rem; }
@media (min-width: 1024px) { .intro-copy { max-width: none; } }
.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 0.75rem;
}
.intro-copy h2 {
  font-size: 1.5rem;
  color: var(--stone-800);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
@media (min-width: 768px) { .intro-copy h2 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .intro-copy h2 { font-size: 2.25rem; } }
.intro-lead {
  color: var(--stone-600);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .intro-lead { font-size: 1.125rem; } }
.intro-firm {
  color: var(--stone-500);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.intro-photo {
  width: 100%;
  max-width: 22rem;
  flex-shrink: 0;
}
.intro-photo-frame {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.intro-photo-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.intro-photo-fallback {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--mist-600), var(--stone-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
}
.intro-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem 1.25rem 1.25rem;
  padding-top: 4rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3), transparent);
}
.intro-photo-name {
  font-family: var(--font-serif);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
}
.intro-photo-title { color: rgba(255,255,255,0.8); font-size: 0.875rem; margin-top: 0.15rem; }

/* Services */
.services-section {
  padding: 4rem 0;
  background: var(--stone-50);
}
@media (min-width: 768px) { .services-section { padding: 6rem 0; } }
.section-head { margin-bottom: 2.5rem; }
.section-head-center { text-align: center; }
.section-head-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .section-head-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.section-title {
  font-size: 1.5rem;
  color: var(--stone-800);
}
@media (min-width: 768px) { .section-title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .section-title { font-size: 2.25rem; } }
.section-desc {
  color: var(--stone-500);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}
.section-cta { text-align: center; margin-top: 2rem; }
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--mist-700);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}
.link-more:hover { color: var(--mist-900); }

.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; } }

.svc-card {
  display: block;
  background: var(--warm-white);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.svc-card:hover {
  border-color: var(--mist-200);
  box-shadow: var(--shadow-md);
}
.svc-ico {
  width: 3rem; height: 3rem;
  border-radius: var(--radius-xl);
  background: var(--mist-50);
  color: var(--mist-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  transition: background 0.2s;
}
.svc-card:hover .svc-ico { background: var(--mist-100); }
.svc-card h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--stone-800);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.svc-card:hover h3 { color: var(--mist-800); }
.svc-card p {
  color: var(--stone-500);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Cases / News home & lists */
.cases-home {
  padding: 4rem 0;
  background: var(--warm-white);
}
.news-home {
  padding: 4rem 0;
  background: var(--warm-white);
}
@media (min-width: 768px) {
  .cases-home, .news-home { padding: 6rem 0; }
}
.cases-home { background: var(--stone-50); }

.case-grid,
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .case-grid, .news-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .case-grid { grid-template-columns: 1fr 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.news-home .news-grid {
  /* 首页资讯四列 */
}
@media (min-width: 1024px) {
  .page-body .news-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.list-card {
  display: flex;
  flex-direction: column;
  background: var(--warm-white);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.35rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  min-width: 0;
}
.cases-home .list-card,
.news-home .list-card {
  background: var(--stone-50);
}
.cases-home .list-card { background: var(--warm-white); }
.list-card:hover {
  border-color: var(--mist-200);
  box-shadow: var(--shadow-md);
}
.list-card-date {
  color: var(--stone-400);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}
.list-card h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--stone-800);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  transition: color 0.2s;
}
.list-card:hover h3 { color: var(--mist-800); }
.list-card p {
  color: var(--stone-500);
  font-size: 0.8125rem;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--stone-100);
  color: var(--mist-700);
  font-size: 0.875rem;
  font-weight: 500;
}
.tag-anon {
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.55rem;
  background: var(--mist-700);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
}

/* CTA band */
.cta-band {
  padding: 4rem 0;
  background: var(--stone-100);
}
@media (min-width: 768px) { .cta-band { padding: 5rem 0; } }
.cta-band-inner {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 16rem;
}
@media (min-width: 768px) { .cta-band-inner { min-height: 20rem; } }
.cta-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.cta-band-fallback {
  background: linear-gradient(120deg, var(--stone-900) 0%, var(--mist-800) 55%, var(--stone-700) 100%);
}
.cta-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(28, 25, 23, 0.82), rgba(28, 25, 23, 0.55), transparent);
}
.cta-band-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.5rem;
  max-width: 32rem;
  color: #fff;
}
@media (min-width: 768px) { .cta-band-copy { padding: 3rem; } }
@media (min-width: 1024px) { .cta-band-copy { padding: 4rem; } }
.cta-band-copy h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #fff;
}
@media (min-width: 768px) { .cta-band-copy h2 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .cta-band-copy h2 { font-size: 2.25rem; } }
.cta-band-copy p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .cta-band-actions { flex-direction: row; flex-wrap: wrap; }
}

/* Steps */
.steps-section {
  padding: 4rem 0;
  background: var(--warm-white);
}
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
}
.step-item {
  flex: 1 1 16.5rem;
  max-width: 22rem;
  min-width: 0;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  background: var(--stone-50);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.25rem;
}
.step-item h3,
.step-item p {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--mist-700);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.step-item h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--stone-800);
  margin-bottom: 0.5rem;
}
.step-item p {
  color: var(--stone-500);
  font-size: 0.875rem;
  line-height: 1.6;
}
.steps-cta { text-align: center; margin-top: 2rem; }

/* Page hero (子页石色顶栏) */
.page-hero {
  position: relative;
  background: var(--stone-800);
  color: #fff;
  padding: 7rem 0 3rem;
  overflow: hidden;
}
@media (min-width: 768px) { .page-hero { padding: 8rem 0 4rem; } }
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.page-hero-fallback {
  background: linear-gradient(135deg, var(--stone-900), var(--mist-900) 60%, var(--stone-800));
}
.page-hero.has-img .page-hero-fallback { display: none; }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: 1.5rem;
  color: #fff;
  max-width: 48rem;
}
@media (min-width: 768px) { .page-hero h1 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 2.25rem; } }
.page-hero-desc {
  color: var(--stone-400);
  margin-top: 0.75rem;
  max-width: 40rem;
  font-size: 0.9rem;
}
.article-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--stone-400);
  font-size: 0.875rem;
}
.article-hero-meta a { color: var(--mist-300); }
.article-hero-meta a:hover { color: #fff; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--stone-400);
  margin-bottom: 1rem;
}
.crumbs a { color: var(--stone-400); }
.crumbs a:hover { color: #fff; }
.crumb-sep {
  display: inline-flex;
  align-items: center;
  color: var(--stone-500);
  font-size: 0.75rem;
}
.crumb-current {
  color: #fff;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 768px) { .crumb-current { max-width: 24rem; } }

.page-body { padding: 3rem 0 4rem; }
@media (min-width: 768px) { .page-body { padding: 3.5rem 0 5rem; } }

/* Detail layout */
.detail-shell {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .detail-shell {
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
  }
}
.detail-main { flex: 1; min-width: 0; max-width: 48rem; }
.detail-aside {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .detail-aside {
    width: 20rem;
    position: sticky;
    top: 6rem;
  }
}
.detail-panel {
  background: var(--warm-white);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .detail-panel { padding: 2.5rem; } }

.meta-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--stone-50);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.meta-card img {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--mist-200);
}
.meta-card strong { display: block; color: var(--stone-800); font-size: 0.95rem; }
.meta-card span { color: var(--stone-400); font-size: 0.75rem; }
.detail-practice {
  font-size: 0.875rem;
  color: var(--stone-500);
  margin-bottom: 1rem;
}
.detail-practice a { color: var(--mist-700); }
.detail-practice a:hover { text-decoration: underline; }
.article-lead {
  font-size: 1.05rem;
  color: var(--stone-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--stone-100);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--stone-400);
  margin-bottom: 1.25rem;
}
.result-box {
  background: var(--mist-50);
  border: 1px solid var(--mist-100);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.result-box strong {
  display: block;
  color: var(--mist-800);
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}
.result-box p { color: var(--stone-600); font-size: 0.9rem; }
.alert-soft {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--stone-50);
  border-radius: var(--radius);
  color: var(--stone-600);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}
.alert-soft i { color: var(--mist-600); }
.article-disclaimer {
  margin-top: 2.5rem;
  padding: 1.25rem;
  background: var(--stone-50);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-xl);
}
.article-disclaimer h3 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--stone-700);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.article-disclaimer h3 i { color: var(--mist-600); }
.article-disclaimer p {
  color: var(--stone-500);
  font-size: 0.75rem;
  line-height: 1.6;
}

.lawyer-side-card {
  background: var(--warm-white);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.lawyer-side-top {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.lawyer-side-avatar img {
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--mist-200);
}
.lawyer-side-name {
  font-weight: 700;
  color: var(--stone-800);
  font-size: 0.95rem;
}
.lawyer-side-firm { color: var(--stone-400); font-size: 0.75rem; }
.lawyer-side-lead {
  color: var(--stone-500);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.25rem;
}

/* Form */
.ms-form {
  background: var(--warm-white);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.form-sidebar .ms-form {
  border-color: var(--mist-100);
  box-shadow: var(--shadow-sm);
}
.form-contact .ms-form {
  border-color: var(--stone-200);
}
.form-consult-page .ms-form {
  border: 1px solid var(--mist-200);
  box-shadow: var(--shadow-md);
  max-width: 36rem;
  margin: 0 auto;
  padding: 2rem;
}
.ms-form h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--stone-800);
  margin-bottom: 0.35rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--mist-600);
}
.form-sub {
  color: var(--stone-500);
  font-size: 0.8125rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.form-field { margin-bottom: 1rem; }
.form-field label {
  display: block;
  font-size: 0.8125rem;
  color: var(--stone-600);
  margin-bottom: 0.35rem;
}
.form-field input[type="text"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--stone-200);
  border-radius: 0.5rem;
  background: var(--warm-off);
  font-size: 0.9rem;
  color: var(--stone-800);
  font-family: inherit;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--mist-500);
  background: #fff;
}
.form-field textarea { min-height: 5.5rem; resize: vertical; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.form-check input { margin-top: 0.2rem; }
.form-check label { margin: 0; font-size: 0.8rem; color: var(--stone-600); }
.form-check a { color: var(--mist-700); text-decoration: underline; }
.form-btn { width: 100%; margin-top: 0.25rem; }
.form-disclaimer {
  margin-top: 0.85rem;
  font-size: 0.7rem;
  color: var(--stone-400);
  line-height: 1.5;
}
.consult-error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consult-lead {
  text-align: center;
  color: var(--stone-600);
  margin-bottom: 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.form-consult-lead a { color: var(--mist-700); }

/* About */
.about-shell {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .about-shell { flex-direction: row; gap: 4rem; align-items: flex-start; }
}
.about-side {
  width: 100%;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .about-side { width: 33%; } }
.about-photo {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.about-info-card {
  background: var(--warm-white);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.about-info-card h2 {
  font-family: var(--font-sans);
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--stone-800);
}
.about-info-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.25rem; }
.about-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.about-info-list i { color: var(--mist-600); margin-top: 0.15rem; font-size: 1.1rem; }
.meta-lbl { display: block; color: var(--stone-400); font-size: 0.75rem; }
.meta-val { display: block; color: var(--stone-800); font-weight: 500; }
.meta-link { color: var(--mist-700); }
.about-main { flex: 1; min-width: 0; }
.about-section { margin-bottom: 2rem; }
.about-section h2 {
  font-size: 1.25rem;
  color: var(--stone-800);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--stone-100);
}
.honor-list { display: flex; flex-direction: column; gap: 0.75rem; }
.honor-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--stone-50);
  border-radius: 0.5rem;
  font-size: 0.9rem;
}
.honor-item img { width: 3rem; height: 3rem; object-fit: cover; border-radius: 0.35rem; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.contact-card {
  background: var(--warm-white);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-head { text-align: center; margin-bottom: 1.5rem; }
.contact-head-ico {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: var(--mist-50);
  color: var(--mist-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.contact-head h2 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.contact-head p { color: var(--stone-500); font-size: 0.875rem; }
.contact-lead {
  color: var(--stone-500);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.contact-tiles { display: flex; flex-direction: column; gap: 0.85rem; }
.contact-tile {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--stone-50);
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
}
a.contact-tile:hover { border-color: var(--mist-200); }
.contact-tile-ico {
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--mist-100);
  color: var(--mist-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* FAQ */
.faq-section { margin-top: 2rem; }
.faq-section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--stone-800);
}
.faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--stone-100);
}
.faq-item h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--stone-800);
  margin-bottom: 0.4rem;
}
.faq-item p { color: var(--stone-500); font-size: 0.875rem; }

/* Related */
.related-section {
  padding: 0 0 4rem;
}
.related-section > .wrap > h2 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  color: var(--stone-800);
}
.related-lawyer {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--warm-white);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-xl);
  margin-bottom: 1.5rem;
}
.related-lawyer img {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  object-fit: cover;
}
.related-lawyer-name { font-weight: 700; color: var(--stone-800); }
.related-lawyer p { color: var(--stone-500); font-size: 0.8125rem; margin-top: 0.25rem; }
.related-block { margin-top: 1.5rem; }
.related-block > h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--stone-800);
}
.related-list { display: flex; flex-direction: column; gap: 0.5rem; }
.related-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--warm-white);
  border: 1px solid var(--stone-100);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--stone-700);
  transition: border-color 0.2s, color 0.2s;
}
.related-item:hover { border-color: var(--mist-200); color: var(--mist-700); }
.related-item i { color: var(--mist-500); flex-shrink: 0; }

/* Pager */
.pager {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid var(--stone-200);
  background: var(--warm-white);
  color: var(--stone-600);
  font-size: 0.875rem;
}
.pagination li a:hover {
  border-color: var(--mist-400);
  color: var(--mist-700);
}
.pagination li.active span,
.pagination .active a {
  background: var(--mist-700);
  border-color: var(--mist-700);
  color: #fff;
}
.pagination li.disabled span {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Thanks / 404 */
.thanks-page,
.error-page {
  padding: 8rem 0 5rem;
  text-align: center;
}
.thanks-inner,
.error-inner { max-width: 32rem; margin: 0 auto; }
.thanks-icon,
.error-icon {
  font-size: 3rem;
  color: var(--mist-600);
  margin-bottom: 1rem;
}
.thanks-page h1,
.error-page h1 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--stone-800);
}
.thanks-lead,
.error-lead {
  color: var(--stone-500);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}
.thanks-actions,
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.thanks-wechat {
  margin: 0 auto 2rem;
  max-width: 20rem;
  padding: 1.25rem;
  background: var(--warm-white);
  border: 1px solid var(--stone-100);
  border-radius: var(--radius-xl);
}
.thanks-wechat img {
  width: 180px; height: 180px;
  margin: 0 auto 1rem;
  object-fit: contain;
}
.thanks-hours {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--stone-50);
  border-radius: var(--radius);
}
.thanks-hours h2 {
  font-family: var(--font-sans);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.thanks-disclaimer {
  font-size: 0.75rem;
  color: var(--stone-400);
  line-height: 1.5;
}
.off-hours-tip {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--mist-700);
  background: var(--mist-50);
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
}
.error-practices-label {
  color: var(--stone-500);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.error-practices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.error-practices a {
  padding: 0.4rem 0.85rem;
  background: var(--mist-50);
  color: var(--mist-800);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
}
.error-practices a:hover { background: var(--mist-100); }
.privacy-wrap { max-width: 48rem; margin: 0 auto; }

/* Trust bar */
.trust-bar {
  background: var(--mist-900);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.5rem 0;
}
.trust-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .trust-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .trust-inner { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.trust-item i {
  font-size: 1.35rem;
  color: var(--mist-300);
  margin-top: 0.15rem;
}
.trust-item strong {
  display: block;
  font-size: 0.875rem;
  color: #fff;
  font-weight: 600;
}
.trust-item span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.15rem;
}
.trust-item a { color: var(--mist-200); }

/* Footer */
.site-footer {
  background: var(--stone-800);
  color: var(--stone-300);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .footer-grid { flex-direction: row; gap: 4rem; }
}
.footer-brand-col { flex: 2; }
.footer-links-col { flex: 3; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--stone-100);
}
.footer-firm,
.footer-license,
.footer-phone,
.footer-addr {
  font-size: 0.875rem;
  color: var(--stone-400);
  margin-bottom: 0.4rem;
}
.footer-phone a { color: var(--mist-300); }
.footer-phone a:hover { color: var(--mist-200); }
.footer-disclaimer-inline {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--stone-500);
  line-height: 1.5;
  max-width: 28rem;
}
.footer-nav-links,
.footer-practices {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.65rem 1.25rem;
  margin-bottom: 1rem;
}
.footer-practices {
  max-height: calc(1.25rem * 5 + 0.65rem * 4);
  overflow: hidden;
}
.footer-nav-links a,
.footer-practices a {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--stone-400);
}
.footer-nav-links a:hover,
.footer-practices a:hover { color: var(--mist-300); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--stone-700);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-copy,
.footer-beian {
  font-size: 0.75rem;
  color: var(--stone-500);
}
.footer-tech {
  font-size: 0.7rem;
  color: var(--stone-600);
}
.footer-tech a { color: var(--stone-500); }
.footer-tech a:hover { color: var(--mist-400); }

/* PC convert / mobile bar */
.pc-convert {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  background: rgba(252, 252, 251, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--stone-200);
  box-shadow: 0 -4px 20px rgba(28, 25, 23, 0.06);
}
@media (min-width: 768px) { .pc-convert { display: block; } }
.pc-convert-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.pc-convert-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--stone-800);
}
.pc-convert-text span {
  font-size: 0.75rem;
  color: var(--stone-500);
}
.pc-convert-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pc-convert-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--mist-700);
  font-weight: 500;
  font-size: 0.9rem;
}

.mobile-bar {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  background: var(--warm-white);
  border-top: 1px solid var(--stone-200);
  box-shadow: 0 -4px 16px rgba(28, 25, 23, 0.06);
  padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0));
}
@media (min-width: 768px) { .mobile-bar { display: none; } }
.mobile-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.4rem;
  color: var(--stone-600);
  font-size: 0.65rem;
  background: none;
  border: none;
}
.mobile-bar-item i { font-size: 1.25rem; }
.mobile-bar-item.mobile-cta { color: var(--mist-700); font-weight: 600; }

/* Wechat modal */
.wechat-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(28, 25, 23, 0.55);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.wechat-modal.is-open { display: flex; }
.wechat-modal-box {
  position: relative;
  background: var(--warm-white);
  border-radius: var(--radius-2xl);
  padding: 2rem 1.5rem 1.5rem;
  max-width: 22rem;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.wechat-modal-close {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  color: var(--stone-500);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wechat-modal-close:hover { background: var(--stone-100); }
.wechat-modal-icon {
  font-size: 2.5rem;
  color: #07c160;
  margin-bottom: 0.5rem;
}
.wechat-modal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--stone-800);
  margin-bottom: 0.35rem;
}
.wechat-modal-desc {
  font-size: 0.8125rem;
  color: var(--stone-500);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.wechat-qr {
  width: 180px; height: 180px;
  margin: 0 auto 1rem;
  object-fit: contain;
  border-radius: 0.5rem;
}
.wechat-modal-dismiss {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.65rem;
  border-radius: var(--radius-full);
  background: var(--stone-100);
  color: var(--stone-700);
  font-size: 0.875rem;
}
.wechat-modal-dismiss:hover { background: var(--stone-200); }

.wechat-id-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.wechat-id-label { color: var(--stone-500); }
.wechat-id-value { color: var(--stone-800); }
.wechat-id-row button[data-copy-wechat] {
  padding: 0.35rem 0.75rem;
  background: var(--mist-700);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}
.wechat-id-hint {
  font-size: 0.75rem;
  color: var(--stone-500);
  margin-bottom: 0.5rem;
}
.wechat-id-hint strong { color: #b91c1c; }

@media (min-width: 768px) {
  body:has(#wechat-modal img) .wechat-id-row,
  body:has(#wechat-modal img) .wechat-id-hint { display: none !important; }
}

/* Prose */
.prose {
  color: var(--stone-600);
  font-size: 1rem;
  line-height: 1.75;
}
.prose > * + * { margin-top: 1rem; }
.prose h2, .prose h3, .prose h4 {
  color: var(--stone-800);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}
.prose h2 { font-size: 1.35rem; }
.prose h3 { font-size: 1.15rem; }
.prose a { color: var(--mist-700); text-decoration: underline; }
.prose strong { color: var(--stone-800); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.35rem; }
.prose img {
  border-radius: var(--radius);
  margin: 1.25rem 0;
}
.prose blockquote {
  border-left: 3px solid var(--mist-400);
  padding-left: 1rem;
  color: var(--stone-500);
  font-style: italic;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.prose th, .prose td {
  border: 1px solid var(--stone-200);
  padding: 0.5rem 0.75rem;
  text-align: left;
}
.prose th { background: var(--stone-50); }
