:root {
  --ink: #142322;
  --muted: #60706e;
  --brand: #123b3a;
  --brand-deep: #092b2a;
  --accent: #c69a58;
  --accent-soft: #f2e7d6;
  --paper: #ffffff;
  --canvas: #f4f7f5;
  --tint: #eaf1ee;
  --line: #dce5e1;
  --shadow: 0 28px 70px rgba(18, 59, 58, 0.12);
  --radius-lg: 32px;
  --radius-md: 20px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(198, 154, 88, 0.65);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: var(--brand-deep);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 229, 225, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 13px;
  font-family: "Songti SC", "STSong", serif;
  font-size: 23px;
  line-height: 1;
}

.brand-copy {
  display: grid;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 17px;
  letter-spacing: 0.06em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 40px);
  color: #3f514f;
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 10vw, 132px) 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(198, 154, 88, 0.2), transparent 29%),
    linear-gradient(135deg, #f7faf8 0%, #e9f1ed 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -280px;
  bottom: -360px;
  border: 1px solid rgba(18, 59, 58, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(18, 59, 58, 0.025), 0 0 0 160px rgba(18, 59, 58, 0.018);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
  gap: clamp(52px, 8vw, 104px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: #6b562f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(48px, 6.3vw, 76px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.13;
}

.hero h1 span {
  color: var(--brand);
}

.hero-lead {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--brand);
}

.button-primary:hover {
  background: var(--brand-deep);
}

.button-secondary {
  color: var(--brand);
  background: transparent;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.72);
}

.direction-panel,
.product-dashboard {
  color: #fff;
  background: var(--brand);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.direction-panel {
  padding: 20px 30px 18px;
}

.panel-heading {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  letter-spacing: 0.18em;
}

.panel-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(198, 154, 88, 0.12);
}

.direction-list article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 17px;
  align-items: center;
  padding: 23px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.direction-list article:last-child {
  border-bottom: 0;
}

.direction-number {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 15px;
  font-style: italic;
}

.direction-list h2 {
  margin: 0 0 3px;
  font-family: "Songti SC", "STSong", serif;
  font-size: 21px;
  font-weight: 600;
}

.direction-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.section {
  padding: clamp(76px, 10vw, 124px) 0;
}

.section-tint {
  background: var(--canvas);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(52px, 8vw, 112px);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.product-copy h2,
.contact-card h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif SC", serif;
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1.24;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.about-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.about-copy .large-copy {
  margin-bottom: 22px;
  color: var(--ink);
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.75;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 72px;
}

.principle-card,
.capability-card,
.flow-grid article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-md);
}

.principle-card {
  padding: 30px;
}

.principle-card > span,
.capability-card > span {
  display: inline-block;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
}

.principle-card h3,
.capability-card h3,
.flow-grid h3 {
  margin: 26px 0 8px;
  font-size: 19px;
}

.principle-card p,
.capability-card p,
.flow-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(520px, 1.24fr);
  gap: clamp(52px, 8vw, 100px);
  align-items: center;
}

.product-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 30px;
  color: var(--brand);
  font-weight: 700;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.product-window {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(18, 59, 58, 0.1);
}

.window-top {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.window-top span {
  width: 8px;
  height: 8px;
  background: #cdd8d4;
  border-radius: 50%;
}

.window-top b {
  margin-left: auto;
  color: var(--brand);
  font-weight: 650;
}

.window-body {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 13px;
  padding: 18px;
  background: #f8faf9;
}

.window-primary,
.window-side > div {
  padding: 19px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 15px;
}

.window-primary small,
.window-side small,
.metric-grid small,
.dashboard-chart small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.window-primary strong {
  display: block;
  margin-top: 8px;
  font-size: 16px;
}

.chart-lines {
  height: 118px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
  margin-top: 28px;
  padding-top: 18px;
  border-bottom: 1px solid var(--line);
}

.chart-lines i {
  flex: 1;
  height: 42%;
  background: var(--tint);
  border-radius: 5px 5px 0 0;
}

.chart-lines i:nth-child(2) { height: 68%; }
.chart-lines i:nth-child(3) { height: 56%; }
.chart-lines i:nth-child(4) { height: 86%; background: var(--brand); }
.chart-lines i:nth-child(5) { height: 72%; }

.window-side {
  display: grid;
  gap: 10px;
}

.window-side b {
  display: block;
  margin-top: 4px;
  color: var(--brand);
  font-size: 13px;
}

.contact-section {
  padding-top: 72px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding: clamp(38px, 6vw, 68px);
  color: #fff;
  background: var(--brand);
  border-radius: var(--radius-lg);
}

.contact-card .eyebrow {
  color: #dec49a;
}

.contact-card p:last-child {
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.contact-list {
  margin: 0;
}

.contact-list > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-list > div:last-child {
  border-bottom: 0;
}

.contact-list dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.contact-list dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.contact-list a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.site-footer {
  padding: 46px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: 13px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-main strong {
  color: var(--ink);
  font-size: 16px;
}

.footer-main p {
  margin: 5px 0 0;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-meta > a:hover,
.legal-links a:hover {
  color: var(--brand);
}

.legal-links {
  display: flex;
  gap: 18px;
}

/* 产品页 */
.product-hero {
  background:
    radial-gradient(circle at 76% 16%, rgba(198, 154, 88, 0.22), transparent 28%),
    linear-gradient(145deg, #f8faf9 0%, #e6efeb 100%);
}

.product-dashboard {
  overflow: hidden;
  padding: 18px;
}

.dashboard-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 4px 18px;
  color: rgba(255, 255, 255, 0.58);
}

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

.dashboard-brand span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: #fff;
  border-radius: 9px;
  font-family: "Songti SC", serif;
}

.dashboard-brand b {
  color: #fff;
  font-size: 13px;
}

.dashboard-content {
  padding: 17px;
  color: var(--ink);
  background: #f7faf8;
  border-radius: 20px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-grid > div,
.dashboard-chart {
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px;
}

.metric-grid b {
  display: block;
  margin-top: 7px;
  color: var(--brand);
  font-size: 13px;
}

.dashboard-chart {
  margin-top: 10px;
}

.dashboard-chart b {
  display: block;
  margin-top: 5px;
  font-size: 14px;
}

.chart-area {
  height: 126px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 26px;
  padding: 0 5px;
  border-bottom: 1px solid var(--line);
}

.chart-area i {
  flex: 1;
  height: 35%;
  background: #dce9e4;
  border-radius: 6px 6px 0 0;
}

.chart-area i:nth-child(2) { height: 58%; }
.chart-area i:nth-child(3) { height: 45%; }
.chart-area i:nth-child(4) { height: 76%; }
.chart-area i:nth-child(5) { height: 65%; }
.chart-area i:nth-child(6) { height: 92%; background: var(--accent); }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.capability-card {
  min-height: 224px;
  padding: 28px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.capability-card:hover {
  border-color: #b7ccc4;
  box-shadow: 0 18px 38px rgba(18, 59, 58, 0.08);
  transform: translateY(-3px);
}

.capability-card h3 {
  margin-top: 44px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.flow-grid article {
  padding: 28px;
}

.flow-grid article > span {
  display: inline-block;
  padding: 5px 11px;
  color: var(--brand);
  background: var(--tint);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.flow-grid h3 {
  margin-top: 22px;
}

.version-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 940px) {
  .hero-grid,
  .product-feature {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .direction-panel,
  .product-dashboard,
  .product-window {
    width: min(100%, 680px);
  }

  .split-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-inner {
    min-height: 70px;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 12px 0 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 20px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    display: none;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    font-size: 13px;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .direction-panel {
    padding: 14px 22px 10px;
    border-radius: 24px;
  }

  .direction-list article {
    padding: 19px 0;
  }

  .section {
    padding: 72px 0;
  }

  .principle-grid,
  .capability-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .principle-grid {
    margin-top: 48px;
  }

  .window-body {
    grid-template-columns: 1fr;
  }

  .window-side {
    grid-template-columns: repeat(3, 1fr);
  }

  .window-side > div {
    padding: 14px 10px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .chart-area {
    height: 96px;
  }

  .contact-card {
    gap: 34px;
    border-radius: 24px;
  }

  .contact-list > div {
    grid-template-columns: 76px 1fr;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-meta {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
