:root {
  --ink: #12151b;
  --muted: #5f6876;
  --line: #e5e8ee;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --dark: #111720;
  --red: #df2d2d;
  --teal: #00a7a5;
  --blue: #1e6dd8;
  --radius: 8px;
  --shadow: 0 18px 60px rgba(18, 21, 27, .12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

html[lang^="zh"] body {
  word-break: break-all;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 232, 238, .9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 34px;
  border-radius: 7px;
  color: #fff;
  background: var(--red);
  font-size: 15px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #2a313d;
  font-size: 14px;
  font-weight: 650;
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 7px;
  color: #fff;
  background: var(--ink);
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 9px 12px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
  min-height: calc(100vh - 68px);
  align-items: center;
  gap: 32px;
  padding: clamp(36px, 6vw, 86px) clamp(20px, 4vw, 56px) 42px;
  background:
    linear-gradient(90deg, #fff 0%, #fff 42%, rgba(245, 247, 250, .7) 42%, rgba(245, 247, 250, .7) 100%);
  overflow: hidden;
}

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

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

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

h1,
h2,
h3,
p,
a,
button {
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-lede {
  max-width: 620px;
  color: #394353;
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(223, 45, 45, .25);
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  margin: 0;
}

.hero-proof div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.hero-proof dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.hero-proof dd {
  margin: 2px 0 0;
  font-size: 22px;
  font-weight: 850;
}

.hero-media {
  align-self: stretch;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 4vw, 56px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.intro {
  background: var(--dark);
  color: #fff;
}

.intro .section-label { color: #ff6d6d; }

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.intro p {
  color: #d6dce5;
  font-size: 20px;
}

.card-grid,
.price-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.price-grid article,
.resource-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.service-card span {
  color: var(--teal);
  font-weight: 900;
}

.service-card p,
.price-grid p,
.resource-grid p,
.steps span,
.audit-copy p,
.faq p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--red);
  font-weight: 850;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.steps li {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 24px;
  background: #fff;
}

.steps strong {
  font-size: 23px;
}

.pricing {
  background: #fff;
}

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

.price-grid article {
  min-height: 290px;
}

.price-grid .featured {
  border-color: rgba(223, 45, 45, .35);
  box-shadow: var(--shadow);
}

ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.industries {
  color: #fff;
  background: #17202b;
}

.industries .section-label { color: #71d7d4; }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list span,
.pill-list a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #eef3f7;
  font-weight: 750;
}

.pill-list a {
  background: rgba(255, 255, 255, .12);
}

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

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

.audit-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, .65fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  padding: clamp(58px, 8vw, 104px) clamp(20px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(135deg, #111720, #213141);
}

.audit-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.audit-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 850;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px;
  font: inherit;
}

.faq {
  max-width: 980px;
  margin: 0 auto;
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 850;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: #394353;
}

.site-footer div:last-child {
  display: grid;
  gap: 6px;
  text-align: right;
}

.page-hero {
  padding: clamp(58px, 8vw, 110px) clamp(20px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(135deg, #111720 0%, #182839 58%, #25384b 100%);
}

.page-hero-inner {
  max-width: 980px;
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(42px, 5.6vw, 76px);
}

.page-hero p {
  max-width: 760px;
  color: #d8e0ea;
  font-size: clamp(18px, 2vw, 22px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #aeb9c8;
  font-size: 14px;
  font-weight: 750;
}

.breadcrumb a {
  color: #fff;
}

.content-section {
  padding: clamp(52px, 7vw, 88px) clamp(20px, 4vw, 56px);
}

.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(280px, .28fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.rich-content {
  min-width: 0;
  max-width: 840px;
}

.rich-content p,
.rich-content li {
  color: #4c5665;
  font-size: 18px;
}

.rich-content h2 {
  margin-top: 42px;
  font-size: clamp(28px, 3vw, 42px);
}

.rich-content h2:first-child {
  margin-top: 0;
}

.rich-content h3 {
  margin-top: 28px;
}

.sidebar-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(18, 21, 27, .06);
}

.sidebar-panel h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.sidebar-panel p {
  color: var(--muted);
}

.link-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.link-list a {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: #293241;
  font-weight: 800;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.definition-box {
  min-width: 0;
  padding: 24px;
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  background: var(--soft);
}

html[lang^="zh"] .page-hero h1,
html[lang^="zh"] .rich-content h2,
html[lang^="zh"] .rich-content h3,
html[lang^="zh"] .rich-content p,
html[lang^="zh"] .rich-content li,
html[lang^="zh"] .definition-box p {
  overflow-wrap: anywhere;
}

.mini-cta {
  margin-top: 34px;
  padding: 28px;
  border-radius: var(--radius);
  color: #fff;
  background: #17202b;
}

.mini-cta p {
  color: #d8e0ea;
}

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

.directory-card {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.directory-card p {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(300px, .3fr);
  gap: clamp(28px, 5vw, 64px);
}

@media (max-width: 980px) {
  .hero,
  .intro-grid,
  .audit-section,
  .content-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    background: #fff;
  }

  .hero-media {
    min-height: 360px;
  }

  .card-grid,
  .steps,
  .feature-list,
  .directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .menu-button { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 67px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  h1 {
    font-size: 44px;
    line-height: 1.02;
  }

  html[lang^="zh"] h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.12;
    word-break: break-all;
  }

  html[lang^="zh"] .page-hero h1 {
    font-size: 34px;
  }

  .rich-content h2 {
    font-size: 26px;
  }

  .content-section,
  .page-hero {
    max-width: 100vw;
    overflow: hidden;
  }

  .page-hero-inner {
    width: 100%;
    max-width: 320px;
  }

  .page-hero p {
    max-width: 320px;
  }

  .rich-content,
  .definition-box,
  .sidebar-panel,
  .audit-form {
    width: 100%;
    max-width: min(100%, 320px);
  }

  html[lang^="zh"] .rich-content h2,
  html[lang^="zh"] .rich-content h3,
  html[lang^="zh"] .rich-content p,
  html[lang^="zh"] .rich-content li,
  html[lang^="zh"] .definition-box p {
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  html[lang^="zh"] .hero-lede {
    font-size: 18px;
  }

  .hero-proof,
  .card-grid,
  .steps,
  .price-grid,
  .resource-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

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

  .hero-media {
    min-height: 280px;
  }

  .site-footer {
    display: grid;
  }

  .site-footer div:last-child {
    text-align: left;
  }
}
