:root {
  --paper: #f5f4ef;
  --ink: #1c2826;
  --muted: #6f7975;
  --line: #d9ded8;
  --teal: #15796e;
  --teal-dark: #0d5e56;
  --coral: #df8164;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --display: "Avenir Next", "PingFang SC", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  width: min(100% - 48px, 1040px);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--paper);
  background: var(--teal);
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.13em;
}

.site-nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 13px;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--teal-dark);
}

.hero {
  max-width: 760px;
  padding: 112px 0 120px;
}

.eyebrow,
.section-kicker,
.item-number {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  color: var(--teal-dark);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 50%;
}

.hero h1,
.section h2,
.consult h2,
.error-page h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1.05;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(52px, 9vw, 92px);
}

.hero h1 span,
.section h2 span {
  color: var(--teal);
}

.hero-description {
  max-width: 530px;
  margin: 28px 0 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 13px 16px 13px 18px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 4px;
  font-size: 13px;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.primary-action span {
  color: #ffc8b6;
  font-size: 19px;
  line-height: 0.7;
}

.hero-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 54px;
}

.section-kicker {
  margin: 5px 0 0;
  color: var(--coral);
}

.section h2,
.consult h2 {
  font-size: clamp(36px, 5vw, 60px);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item {
  min-height: 210px;
  padding: 22px 24px 26px 0;
}

.service-item + .service-item {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.item-number {
  color: var(--coral);
}

.service-item h3 {
  margin: 46px 0 12px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.service-item p,
.consult p {
  max-width: 270px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.flow-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9vw;
  align-items: start;
}

.flow-section .section-heading {
  display: block;
  margin: 0;
}

.flow-section .section-kicker {
  margin-bottom: 22px;
}

.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.flow-list li {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.flow-list span {
  width: 26px;
  color: var(--coral);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
}

.flow-list strong {
  font-weight: 500;
}

.consult {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

.consult h2 {
  margin: 20px 0 18px;
}

.consult p:last-child {
  max-width: 430px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.site-footer strong {
  margin-right: 14px;
  color: var(--ink);
}

.site-footer a {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100% - 36px, 520px);
  }

  .site-header {
    padding: 18px 0;
  }

  .site-nav {
    gap: 14px;
    font-size: 11px;
  }

  .hero {
    padding: 78px 0 86px;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 72px);
  }

  .hero-description {
    font-size: 14px;
  }

  .section,
  .consult {
    padding: 72px 0;
  }

  .section-heading,
  .flow-section {
    display: block;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section h2 {
    margin-top: 18px;
  }

  .service-list {
    display: block;
  }

  .service-item,
  .service-item + .service-item {
    min-height: 0;
    padding: 20px 0 24px;
    border-left: 0;
  }

  .service-item + .service-item {
    border-top: 1px solid var(--line);
  }

  .service-item h3 {
    margin-top: 28px;
  }

  .flow-section .section-heading {
    margin-bottom: 36px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
