:root {
  color-scheme: light;
  --bg: #fbfaff;
  --surface: #ffffff;
  --surface-soft: #f2edff;
  --text: #211638;
  --muted: #6f6482;
  --line: #e5dcf5;
  --accent: #6d28d9;
  --accent-strong: #4c1d95;
  --accent-soft: #eee7ff;
  --accent-pale: #f7f3ff;
  --platinum: #c8b8e8;
  --ink: #24143f;
  --radius: 8px;
  --shadow: 0 24px 70px rgb(76 29 149 / 0.14);
  font-family:
    "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgb(109 40 217 / 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(109 40 217 / 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

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

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

i[data-lucide],
.lucide {
  width: 1.08em;
  height: 1.08em;
  stroke-width: 1.75;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  position: relative;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, #8b5cf6, #5b21b6 52%, #2e1065),
    var(--accent);
  color: #ffffff;
  font-weight: 800;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.26),
    0 10px 24px rgb(76 29 149 / 0.22);
  clip-path: polygon(50% 4%, 88% 20%, 88% 58%, 50% 94%, 12% 58%, 12% 20%);
}

.brand-mark::after {
  position: absolute;
  inset: 6px;
  content: "";
  border: 1px solid rgb(255 255 255 / 0.52);
  clip-path: inherit;
}

.brand-monogram {
  position: relative;
  z-index: 1;
  font-size: 18px;
  line-height: 1;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
}

.site-nav a,
.footer-links a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--accent-strong);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: 0 10px 24px rgb(76 29 149 / 0.06);
}

.section-pad {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.78fr);
  align-items: center;
  gap: clamp(38px, 6vw, 96px);
  min-height: calc(100dvh - 132px);
  padding-top: clamp(34px, 5vw, 58px);
  padding-bottom: clamp(30px, 4vw, 48px);
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: 1.06;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 10px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.22;
}

.hero-lede {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
}

.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
  white-space: nowrap;
}

.button:active {
  transform: translateY(1px);
}

.button.primary {
  background: linear-gradient(135deg, #7c3aed, var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 16px 34px rgb(76 29 149 / 0.22);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--accent);
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface-soft);
}

.hero-media::after,
.muted-photo::after,
.audience-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent, rgb(36 20 63 / 0.16)),
    linear-gradient(90deg, rgb(76 29 149 / 0.12), transparent 42%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  filter: saturate(0.74) contrast(1.02) brightness(0.9);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0 clamp(18px, 4vw, 56px);
}

.trust-band p {
  min-height: 82px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--muted);
  font-weight: 700;
}

.trust-band .lucide {
  color: var(--accent-strong);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading.compact {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p,
.compliance-panel p,
.audience-copy p,
.consult-copy p,
.site-footer p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 1fr;
  grid-auto-rows: minmax(250px, auto);
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 44px rgb(76 29 149 / 0.06);
}

.service-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line));
  border-radius: var(--radius);
  color: var(--accent-strong);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--surface) 72%, transparent), transparent),
    color-mix(in srgb, var(--accent-soft) 46%, transparent);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18);
}

.service-icon .lucide {
  width: 26px;
  height: 26px;
}

.service-card span {
  display: block;
  margin-bottom: 30px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
}

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

.service-card.tall {
  grid-row: span 2;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent-soft) 82%, transparent), transparent 62%),
    var(--surface);
}

.service-card.muted-photo {
  min-height: 380px;
  color: #f7fbf8;
  background: var(--ink);
}

.service-card.muted-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.62) brightness(0.58) contrast(1.04);
}

.service-card.muted-photo span,
.service-card.muted-photo .service-icon,
.service-card.muted-photo h3,
.service-card.muted-photo p {
  position: relative;
  z-index: 1;
  color: #f7fbf8;
}

.service-card.muted-photo .service-icon,
.service-card.dark .service-icon {
  border-color: rgb(247 251 248 / 0.22);
  color: #f7fbf8;
  background: rgb(247 251 248 / 0.09);
}

.service-card.dark {
  background:
    radial-gradient(circle at 0 0, rgb(196 181 253 / 0.24), transparent 34%),
    var(--ink);
  color: #f7fbf8;
}

.service-card.dark span,
.service-card.dark p {
  color: #ddd6fe;
}

.service-card.accent {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent-soft) 88%, transparent), transparent 72%),
    var(--surface);
}

.compliance-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 60%, transparent), transparent 52%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.compliance-copy {
  align-self: center;
}

.compliance-mark {
  display: inline-grid;
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, var(--line));
  border-radius: var(--radius);
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.compliance-mark .lucide {
  width: 32px;
  height: 32px;
}

.compliance-note {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 68%, transparent);
}

.compliance-note strong,
.compliance-note span {
  display: block;
}

.compliance-note strong {
  margin-bottom: 6px;
}

.compliance-note span {
  color: var(--muted);
}

.boundary-list {
  display: grid;
  gap: 12px;
}

.boundary-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 76%, transparent);
}

.boundary-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.boundary-list .lucide {
  grid-row: span 2;
  grid-column: 1;
  align-self: start;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.boundary-list strong,
.boundary-list span {
  grid-column: 2;
}

.boundary-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 19px;
}

.boundary-list span {
  color: var(--muted);
}

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

.process-rail article {
  min-height: 238px;
  padding: 28px;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgb(76 29 149 / 0.05);
}

.process-rail .lucide {
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  color: var(--accent-strong);
}

.process-rail p {
  color: var(--muted);
}

.audience {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
}

.audience-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface-soft);
}

.audience-image img {
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.03) brightness(0.88);
}

.audience-copy {
  max-width: 680px;
}

.fit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.fit-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 700;
}

.fit-list .lucide {
  color: var(--accent-strong);
}

.consult {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.consult-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.form-row.full,
.form-actions {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  font: inherit;
  outline: none;
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  min-height: 132px;
  padding: 12px 14px;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.field-error,
.form-status {
  min-height: 22px;
  margin: 7px 0 0;
  color: #b42318;
  font-size: 14px;
}

.form-status.success {
  color: var(--accent-strong);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 40px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .audience,
  .consult,
  .compliance-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    max-height: 520px;
  }

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

  .service-card.tall {
    grid-row: auto;
  }

  .process-rail {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    gap: 12px;
  }

  .brand {
    font-size: 16px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .section-pad {
    padding: 54px 18px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-media img {
    aspect-ratio: 1.45;
  }

  h1 {
    font-size: clamp(38px, 13vw, 48px);
  }

  .trust-band,
  .service-grid,
  .process-rail,
  .fit-list,
  .consult-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-band p {
    min-height: 58px;
    justify-content: flex-start;
    padding: 0 18px;
  }

  .service-card,
  .service-card.muted-photo {
    min-height: 260px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
