:root {
  --ink: #17213a;
  --muted: #5b6578;
  --line: #d9e1ec;
  --brand: #1457c8;
  --brand-2: #12a8df;
  --surface: #f5f7fb;
  --white: #ffffff;
  --accent: #f0b429;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
}

address {
  font-style: normal;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand img {
  display: block;
  width: 210px;
  max-width: 48vw;
  height: auto;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--brand);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 32px;
  padding: 6px 8px;
  border-radius: 6px;
}

.language-switcher a:hover,
.language-switcher .active {
  color: var(--white);
  background: var(--brand);
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(20, 87, 200, 0.08), rgba(18, 168, 223, 0.04)),
    linear-gradient(180deg, var(--white), var(--surface));
}

.hero-copy {
  max-width: 860px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 24px;
  max-width: 900px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.2;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 22px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  font-weight: 700;
}

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

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

.hero-panel {
  display: grid;
  gap: 12px;
  align-self: stretch;
  align-content: center;
  min-width: 0;
}

.hero-panel span {
  display: block;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand-2);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(23, 33, 58, 0.08);
}

.intro {
  padding: 54px clamp(20px, 8vw, 140px);
  background: var(--ink);
  color: var(--white);
}

.intro p {
  max-width: 1080px;
  margin: 0 auto;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.28;
}

.section {
  padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
  min-width: 0;
}

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

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

.bridge {
  background: var(--white);
}

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

.bridge-flow article {
  min-height: 250px;
  padding: 30px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}

.bridge-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  color: var(--ink);
  background: var(--accent);
  border-radius: 50%;
  font-weight: 700;
}

.bridge-flow p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.service-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.scenarios {
  background: var(--ink);
  color: var(--white);
}

.scenarios .eyebrow {
  color: var(--accent);
}

.scenario-grid article {
  min-height: 260px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.scenario-grid p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.service-grid p,
.split p,
.statement p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  background: var(--surface);
}

.split > div {
  padding-top: 22px;
  border-top: 4px solid var(--accent);
}

.scenarios .split h2 {
  color: var(--ink);
}

.scenarios .aurora-body p,
.scenarios .statement p {
  color: rgba(255, 255, 255, 0.82);
}

.statement {
  max-width: 1080px;
}

.statement h2 {
  font-size: clamp(32px, 4vw, 58px);
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(48px, 6vw, 76px) clamp(20px, 5vw, 72px);
  background: var(--brand);
  color: var(--white);
}

.contact p,
.contact .eyebrow,
.contact address {
  color: rgba(255, 255, 255, 0.82);
}

.contact address {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.55;
}

.contact .button {
  flex: 0 0 auto;
  border-color: var(--white);
  background: var(--white);
  color: var(--brand);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a:hover {
  color: var(--brand);
}

.legal-page {
  max-width: 900px;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.legal-page h1 {
  margin-bottom: 42px;
  font-size: clamp(38px, 5vw, 62px);
}

.legal-page h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: clamp(22px, 2.4vw, 30px);
}

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

.legal-page a {
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 920px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

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

  .service-grid,
  .scenario-grid,
  .bridge-flow,
  .split {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
  }

  .nav a {
    white-space: nowrap;
  }

  .language-switcher {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 19px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 34px;
  }

  .hero-actions,
  .hero-actions .button,
  .contact .button {
    width: 100%;
  }
}

/* ===== T-101 additions: seven-stage chain, AURORA, values（复用既有设计语言）===== */
.section-lead {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
}

.chain {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.chain article {
  position: relative;
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.chain article span {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.chain article h3 {
  margin: 6px 0 8px;
  font-size: 16px;
}

.chain article p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.chain article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.aurora {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.aurora-body {
  max-width: 820px;
}

.aurora-body p {
  margin: 0 0 16px;
}

.aurora-note {
  padding: 14px 18px;
  border-left: 3px solid var(--brand);
  background: var(--white);
  color: var(--muted);
  font-size: 14.5px;
}

.values {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.values h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.values dl { margin: 0; }
.values dt {
  font-weight: 700;
  color: var(--brand);
  margin-top: 12px;
}
.values dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

@media (max-width: 900px) {
  .chain { grid-template-columns: repeat(2, 1fr); }
  .chain article::after { display: none; }
}
@media (max-width: 520px) {
  .chain { grid-template-columns: 1fr; }
}

@media (min-width: 1800px) {
  .hero,
  .section,
  .contact,
  footer {
    padding-left: max(72px, calc((100vw - 1680px) / 2));
    padding-right: max(72px, calc((100vw - 1680px) / 2));
  }
}
