:root {
  --bg: #f8f7f4;
  --bg-white: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #5a5a55;
  --text-muted: #8a8a85;
  --accent-blue: #1a3a5c;
  --accent-blue-hover: #0f2a45;
  --accent-blue-soft: #e8edf2;
  --accent-orange: #c96442;
  --accent-orange-soft: rgba(201, 100, 66, 0.08);
  --border: #e4e3dd;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 22px rgba(26, 58, 92, 0.10), 0 0 0 1px rgba(26, 58, 92, 0.12);
  --max-width: 1120px;
}

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

html,
body {
  margin: 0;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--accent-blue);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-blue);
}

.nav-cta,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.nav-cta {
  min-height: 34px;
  padding: 0 16px;
  background: var(--accent-blue);
  color: #fff;
  font-size: 13px;
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--accent-blue-hover);
}

.btn-primary {
  padding: 0 24px;
  background: var(--accent-blue);
  color: #fff;
}

.btn-secondary {
  padding: 0 22px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg);
}

.hero {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  align-items: center;
  gap: 60px;
}

.hero-grid > * {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 5px 12px;
  border: 1px solid rgba(201, 100, 66, 0.26);
  border-radius: 999px;
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 100%;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-size: 46px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 30px;
  color: var(--text-secondary);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mission-panel {
  min-width: 0;
  width: 100%;
  padding: 28px;
  border-radius: 16px;
  background: var(--accent-blue);
  color: #fff;
}

.panel-header,
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.panel-header {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-left {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.panel-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5fcb6a;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 16px;
}

.role-card {
  min-width: 0;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.role-icon {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.role-name {
  font-size: 13px;
  font-weight: 800;
}

.role-desc {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.panel-footer {
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.status {
  color: #6fdf7a;
}

.section {
  padding: 76px 0;
}

.section.alt {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-title {
  margin-bottom: 8px;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
}

.section-sub {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 15px;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 20px;
}

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

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

.card,
.feature-card,
.tool-card {
  border-radius: 12px;
  background: var(--bg-white);
  box-shadow: var(--shadow-card);
}

.card,
.tool-card {
  padding: 28px;
}

a.card,
a.tool-card {
  display: block;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.card:hover,
a.tool-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.card-icon {
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
}

.card h3,
.tool-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.3;
}

.card p,
.tool-card p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.card-meta {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 12px;
}

.card-meta span:last-child {
  margin-left: auto;
  color: var(--accent-blue);
  font-weight: 700;
}

.feature-card {
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: #f2f0eb;
}

.feature-body {
  padding: 28px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-blue-soft);
  color: var(--accent-blue);
  font-size: 12px;
  font-weight: 800;
}

.tag.orange {
  background: var(--accent-orange-soft);
  color: var(--accent-orange);
}

.page-hero {
  padding: 58px 0 46px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}

.page-title {
  width: 100%;
  max-width: 780px;
  margin-bottom: 16px;
  font-size: 40px;
  overflow-wrap: anywhere;
}

.page-copy {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 17px;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
}

.article-card {
  padding: 34px;
  border-radius: 12px;
  background: var(--bg-white);
  box-shadow: var(--shadow-card);
}

.article-card h2 {
  margin: 32px 0 12px;
  font-size: 24px;
}

.article-card h2:first-child {
  margin-top: 0;
}

.article-card p,
.article-card li {
  color: var(--text-secondary);
  font-size: 15px;
}

.article-card ul,
.article-card ol {
  padding-left: 1.25rem;
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.process-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  min-width: 0;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  font-weight: 800;
}

.aside {
  position: sticky;
  top: 86px;
  align-self: start;
  padding: 22px;
  border-radius: 12px;
  background: var(--bg-white);
  box-shadow: var(--shadow-card);
}

.aside h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.aside dl {
  margin: 0;
}

.aside dt {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.aside dd {
  margin: 3px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.media-box {
  overflow: hidden;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}

.media-box figcaption {
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: 12px;
}

.placeholder-card {
  padding: 40px 28px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  color: var(--text-muted);
  text-align: center;
}

.placeholder-card .icon {
  display: block;
  margin-bottom: 12px;
  font-size: 34px;
}

.placeholder-card h3 {
  margin-bottom: 6px;
  color: var(--text-secondary);
  font-size: 18px;
}

footer {
  padding: 46px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-line {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero-grid,
  .case-layout {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .hero {
    padding: 48px 0;
  }

  h1,
  .page-title {
    max-width: calc(100vw - 44px);
    font-size: 34px;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .hero-copy,
  .page-copy {
    width: calc(100vw - 44px);
    max-width: calc(100vw - 44px);
  }

  .mission-panel {
    width: calc(100vw - 44px);
    padding: 22px;
    max-width: 100%;
  }

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

  .panel-header,
  .panel-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .panel-left {
    white-space: normal;
  }

  .nav-links a {
    display: none;
  }

  .nav-links .nav-cta {
    display: none;
  }

  .container {
    padding: 0 22px;
  }

  .article-card {
    width: calc(100vw - 44px);
    padding: 24px;
    min-width: 0;
  }

  .aside {
    position: static;
  }

  footer .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 16px;
  }

  .brand span {
    display: none;
  }

  .nav-links .nav-cta {
    display: none;
  }

  h1,
  .page-title {
    font-size: 29px;
    line-height: 1.22;
  }

  .hero-copy,
  .page-copy {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .mission-panel {
    padding: 20px;
  }

  .process-item {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 14px;
  }

  .step-num {
    width: 30px;
    height: 30px;
  }
}
