:root {
  --ink: #121417;
  --muted: #5e6673;
  --line: #dfe4ea;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --dark: #151a21;
  --dark-2: #202732;
  --teal: #0f8a83;
  --teal-dark: #0a625e;
  --blue: #2563eb;
  --rose: #dc244c;
  --amber: #f59e0b;
  --green: #16a34a;
  --shadow: 0 18px 50px rgba(18, 20, 23, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

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

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

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 228, 234, 0.8);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
}

.brand img {
  width: 126px;
  height: auto;
}

.brand-mark {
  display: none;
  font-weight: 800;
  color: var(--teal-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: #343b45;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--teal-dark);
  background: #eaf7f6;
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.btn-primary {
  color: #ffffff;
  background: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.btn-dark {
  color: #ffffff;
  background: var(--dark);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 138, 131, 0.1), rgba(37, 99, 235, 0.06) 42%, rgba(220, 36, 76, 0.06)),
    #ffffff;
}

.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 54px;
  align-items: center;
  padding: 58px 0 46px;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.03;
  font-weight: 950;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 32px;
  color: #3b4450;
  font-size: 20px;
  line-height: 1.75;
}

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

.signal-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
}

.signal {
  padding: 14px;
  border: 1px solid rgba(223, 228, 234, 0.95);
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
}

.signal strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.signal span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.command-panel {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(223, 228, 234, 0.8);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-title {
  font-weight: 900;
}

.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.panel-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.risk-meter {
  margin: 20px 0;
  padding: 18px;
  border-radius: var(--radius);
  background: #101820;
  color: #ffffff;
}

.risk-meter .label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #d7e4ee;
  font-size: 14px;
}

.meter-track {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #2d3745;
}

.meter-fill {
  width: 76%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--amber), var(--rose));
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.panel-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.panel-card span {
  color: var(--muted);
  font-size: 13px;
}

.panel-card strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.trend {
  height: 74px;
  margin-top: 14px;
  display: flex;
  align-items: end;
  gap: 7px;
}

.trend i {
  flex: 1;
  min-width: 10px;
  border-radius: 4px 4px 0 0;
  background: var(--teal);
}

.trend i:nth-child(2) { height: 38%; background: var(--blue); }
.trend i:nth-child(3) { height: 62%; background: var(--teal); }
.trend i:nth-child(4) { height: 44%; background: var(--amber); }
.trend i:nth-child(5) { height: 82%; background: var(--rose); }
.trend i:nth-child(6) { height: 58%; background: var(--blue); }
.trend i:nth-child(7) { height: 70%; background: var(--teal); }

.section {
  padding: 86px 0;
}

.section-soft {
  background: var(--soft);
}

.section-dark {
  color: #ffffff;
  background: var(--dark);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.section-dark .section-head p,
.section-dark .eyebrow {
  color: #b8c3cf;
}

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

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.service-card {
  min-height: 100%;
  padding: 24px;
}

.service-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--teal);
  font-weight: 900;
}

.service-card h3,
.case-card h3,
.solution-card h3,
.article-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

.service-card p,
.case-card p,
.solution-card p,
.article-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-card ul,
.solution-card ul {
  padding-left: 18px;
  margin: 16px 0 0;
  color: #3b4450;
}

.method-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #354050;
  border-radius: var(--radius);
  overflow: hidden;
}

.method-step {
  padding: 24px;
  min-height: 220px;
  border-right: 1px solid #354050;
  background: var(--dark-2);
}

.method-step:last-child {
  border-right: 0;
}

.method-step span {
  display: block;
  color: #91d9d2;
  font-weight: 900;
}

.method-step h3 {
  margin: 12px 0 10px;
  font-size: 22px;
}

.method-step p {
  margin-bottom: 0;
  color: #cbd5df;
  font-size: 15px;
}

.case-card {
  overflow: hidden;
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.case-body {
  padding: 22px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: var(--radius);
  background: #eef6f5;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.logo-cell img {
  max-height: 44px;
  object-fit: contain;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

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

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.article-card {
  padding: 24px;
}

.article-card time {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.cta-band {
  padding: 44px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(15, 138, 131, 0.94), rgba(21, 26, 33, 0.96)),
    var(--dark);
  color: #ffffff;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 44px);
}

.cta-band p {
  margin-bottom: 0;
  color: #d9e5e4;
}

.page-hero {
  padding: 72px 0 52px;
  background:
    linear-gradient(135deg, rgba(15, 138, 131, 0.1), rgba(245, 158, 11, 0.08)),
    #ffffff;
}

.page-hero h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 820px;
  color: #3b4450;
  font-size: 19px;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.service-detail:last-child {
  border-bottom: 1px solid var(--line);
}

.service-detail h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.service-detail .lead {
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.detail-item strong {
  display: block;
  margin-bottom: 6px;
}

.detail-item span {
  color: var(--muted);
  font-size: 15px;
}

.case-study {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.case-study + .case-study {
  margin-top: 18px;
}

.case-study img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

.case-study h2 {
  margin-bottom: 12px;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.case-facts div {
  padding: 13px;
  border-radius: var(--radius);
  background: var(--soft);
}

.case-facts strong {
  display: block;
  color: var(--teal-dark);
}

.case-facts span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.solution-card {
  padding: 24px;
  min-height: 100%;
}

.solution-card .label {
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
}

.scoreboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.score {
  padding: 22px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
}

.score strong {
  display: block;
  font-size: 34px;
}

.score span {
  color: var(--muted);
  font-size: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
}

.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.contact-card h2 {
  margin-bottom: 14px;
  font-size: 28px;
}

.contact-lines {
  display: grid;
  gap: 14px;
}

.contact-line {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--soft);
}

.contact-line strong {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.contact-line a,
.contact-line span {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 800;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  color: #d6dde6;
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 36px;
  padding: 56px 0 36px;
}

.footer-logo {
  width: 126px;
  margin-bottom: 16px;
  filter: brightness(1.1);
}

.footer-grid p {
  color: #aeb9c5;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a,
.footer-links span {
  color: #d6dde6;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-title {
  margin-bottom: 12px;
  color: #ffffff;
  font-weight: 900;
}

.footer-bottom {
  padding: 18px 0 24px;
  border-top: 1px solid #2c3440;
  color: #9da8b5;
  font-size: 13px;
}

.notice {
  padding: 18px;
  border-left: 4px solid var(--amber);
  background: #fff7e6;
  color: #5f4600;
  border-radius: var(--radius);
}

.dark-note {
  padding: 20px;
  border: 1px solid #354050;
  border-radius: var(--radius);
  background: var(--dark-2);
}

.dark-note p {
  color: #cbd5df;
}

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: 75px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 14px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .case-study {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding-top: 54px;
  }

  .method-row,
  .grid-4,
  .grid-3,
  .scoreboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-step {
    border-right: 0;
    border-bottom: 1px solid #354050;
  }

  .method-step:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

  .service-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .brand img {
    width: 108px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .hero-lede,
  .page-hero p,
  .section-head p {
    font-size: 16px;
  }

  .hero-grid {
    padding: 38px 0 28px;
    gap: 20px;
  }

  .hero-lede {
    margin-bottom: 24px;
  }

  .hero-actions {
    margin-bottom: 24px;
  }

  .hero .command-panel {
    display: none;
  }

  .section,
  .page-hero {
    padding: 54px 0;
  }

  .signal-row,
  .grid-2,
  .grid-3,
  .grid-4,
  .method-row,
  .detail-grid,
  .scoreboard,
  .case-facts,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero .signal-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .signal {
    padding: 12px;
  }

  .signal strong {
    font-size: 24px;
  }

  .signal span {
    font-size: 12px;
  }

  .method-step:nth-last-child(-n + 2) {
    border-bottom: 1px solid #354050;
  }

  .method-step:last-child {
    border-bottom: 0;
  }

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

  .cta-band {
    padding: 28px;
    align-items: stretch;
    flex-direction: column;
  }

  .case-study img {
    min-height: 200px;
  }
}
