:root {
  color-scheme: light dark;
  --page: #f7f7f8;
  --surface: #fff;
  --surface-quiet: #f0f0f3;
  --ink: #1c1c22;
  --muted: #5f5f6a;
  --faint: #6e6e73;
  --line: rgba(28, 28, 34, .12);
  --line-soft: rgba(28, 28, 34, .07);
  --brand: #574dc9;
  --brand-dark: #463da6;
  --brand-on: #fff;
  --brand-soft: rgba(87, 77, 201, .09);
  --ok: #1f7a45;
  --shadow: 0 1px 2px rgba(28, 28, 34, .05), 0 10px 30px rgba(28, 28, 34, .06);
  --radius-lg: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
}
.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-on);
  background: var(--brand);
  font-size: 11px;
  letter-spacing: .04em;
}
.site-nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; }
.site-nav a { padding: 8px 0; }
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { color: var(--brand-dark); }
}
.header-status {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- 首屏 ---------- */
.hero {
  padding: 72px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  align-items: start;
  gap: clamp(40px, 7vw, 96px);
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
}
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { margin-top: 0; }
h1 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.24;
  letter-spacing: -.025em;
}
.hero-copy {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.primary-action,
.secondary-action {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 650;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease;
}
.primary-action { color: var(--brand-on); background: var(--brand); }
.secondary-action { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.primary-action:active, .secondary-action:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .primary-action:hover { background: var(--brand-dark); }
  .secondary-action:hover { border-color: rgba(87, 77, 201, .45); }
}

/* 主体信息卡 */
.hero-facts {
  padding: 26px 26px 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.facts-title { margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--faint); }
.facts-list { margin: 0; padding: 0; }
.facts-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  align-items: baseline;
}
.facts-row:first-child { border-top: 0; padding-top: 0; }
.facts-row dt { color: var(--faint); font-size: 13px; }
.facts-row dd { margin: 0; color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.55; }
.state-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--ok);
  vertical-align: 1px;
}
.facts-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; line-height: 1.7; }

/* ---------- 服务方向 ---------- */
.services { padding: 64px 0 76px; border-top: 1px solid var(--line-soft); }
.section-heading { max-width: 660px; margin-bottom: 30px; }
.section-heading h2, .about-intro h2 { margin-bottom: 14px; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.28; letter-spacing: -.02em; }
.section-heading > p:last-child, .about-intro > p:last-child { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.service-card {
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.service-icon {
  width: 60px;
  height: 60px;
  padding: 15px;
  border-radius: 16px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
  background: var(--brand-soft);
}
.service-icon span { width: 6px; border-radius: 4px 4px 2px 2px; background: var(--brand); }
.service-icon span:nth-child(1) { height: 16px; }
.service-icon span:nth-child(2) { height: 28px; }
.service-icon span:nth-child(3) { height: 21px; }
.service-status { margin: 0 0 6px; color: var(--brand-dark); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.service-card h3 { margin-bottom: 6px; font-size: 21px; letter-spacing: -.015em; }
.service-copy > p:not(.service-status) { max-width: 560px; margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.service-points { padding: 0; margin: 16px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 13px; }
.service-points li::before { content: "✓"; margin-right: 6px; color: var(--ok); font-weight: 800; }
.access-state {
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--surface-quiet);
}
.access-state strong, .access-state span { display: block; }
.access-state strong { color: var(--brand-dark); font-size: 13px; }
.access-state span { margin-top: 5px; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.services-note { margin: 20px 2px 0; color: var(--faint); font-size: 13.5px; line-height: 1.7; }

/* ---------- 公司信息 ---------- */
.about {
  padding: 68px 0 84px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, .95fr);
  gap: clamp(36px, 8vw, 110px);
}
.about-intro h2 { max-width: 560px; }
.about-detail { padding: 2px 0 0 24px; border-left: 2px solid var(--brand); }
.detail-label { margin-bottom: 8px; color: var(--brand-dark); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; }
.about-detail p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.detail-rule { width: 100%; height: 1px; margin: 24px 0; background: var(--line-soft); }

/* ---------- 页脚 ---------- */
footer {
  min-height: 88px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}
footer p { margin: 0; }
footer nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 20px; }
footer a { color: var(--brand-dark); }
.footer-status { color: var(--faint); }
@media (hover: hover) and (pointer: fine) {
  footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 52px 0 60px; gap: 40px; }
  .about { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  .site-header, main, footer { width: min(100% - 32px, 1120px); }
  .site-header { min-height: 66px; }
  .brand-mark { width: 33px; height: 33px; border-radius: 9px; font-size: 10px; }
  .brand-name { font-size: 16px; }
  .site-nav { gap: 12px; font-size: 13px; }
  .site-nav a { display: none; }
  h1 { font-size: clamp(28px, 8.4vw, 34px); }
  .hero-copy { font-size: 15.5px; }
  .hero-actions { display: grid; margin-top: 26px; }
  .primary-action, .secondary-action { width: 100%; }
  .hero-facts { padding: 22px 20px 18px; }
  .facts-row { grid-template-columns: 1fr; gap: 3px; padding: 11px 0; }
  .services { padding: 48px 0 58px; }
  .service-card { grid-template-columns: auto minmax(0, 1fr); padding: 22px 20px; gap: 16px; align-items: start; }
  .service-icon { width: 48px; height: 48px; padding: 12px; border-radius: 13px; }
  .service-card h3 { font-size: 19px; }
  .service-points { grid-column: 1 / -1; margin-top: 2px; }
  .access-state { grid-column: 1 / -1; min-width: 0; }
  .about { padding: 52px 0 64px; }
  .about-detail { padding-left: 18px; }
  footer { display: block; }
  footer nav { justify-content: flex-start; margin-top: 12px; }
}

/* ---------- 深色 ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --page: #17171a;
    --surface: #212124;
    --surface-quiet: #2a2a2e;
    --ink: #f2f2f4;
    --muted: #adadb5;
    --faint: #8e8e97;
    --line: rgba(242, 242, 244, .14);
    --line-soft: rgba(242, 242, 244, .08);
    --brand: #8f86ee;
    --brand-dark: #a49df3;
    --brand-on: #17171f;
    --brand-soft: rgba(143, 134, 238, .14);
    --ok: #56c184;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .32);
  }
  body { background: var(--page); }
}

/* ---------- 动效与材质偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .hero-facts, .service-card, .secondary-action, .header-status { background: var(--page); backdrop-filter: none; }
}
