:root {
  --ink: #142234;
  --muted: #617082;
  --line: #d7e0e7;
  --paper: #f4f7f9;
  --white: #ffffff;
  --teal: #0b8d83;
  --teal-dark: #086e67;
  --navy: #102c35;
  --amber: #c78114;
  --gold: #b98a3d;
  --blue: #2f67b2;
  --rose: #a83b55;
  --shadow: 0 20px 56px rgba(20, 34, 52, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC",
    Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: #ffffff;
  background: var(--teal-dark);
}

.opening-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px);
  color: #dffaf5;
  background: var(--navy);
}

.opening-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 800;
}

.opening-strip span:last-child {
  border-right: 0;
}

.opening-strip svg {
  width: 16px;
  height: 16px;
  color: #99f6e4;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(219, 226, 234, 0.9);
  backdrop-filter: blur(18px);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(13, 148, 136, 0.22);
  box-shadow: 0 16px 44px rgba(24, 33, 47, 0.08);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-weight: 800;
  background: transparent;
  border-radius: 8px;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  display: block;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  color: #10243a;
  font-size: 16px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav a {
  position: relative;
  padding: 10px 12px;
  color: #334155;
  font-size: 14px;
}

.desktop-nav a:hover {
  color: var(--teal-dark);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  background: var(--teal);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta,
.primary-btn,
.secondary-btn,
.diagnosis-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.nav-cta,
.primary-btn,
.diagnosis-form button {
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.18);
}

.nav-cta:hover,
.primary-btn:hover,
.diagnosis-form button:hover {
  background: #075f59;
  box-shadow: 0 14px 34px rgba(8, 110, 103, 0.25);
  transform: translateY(-1px);
}

.nav-cta,
.primary-btn,
.secondary-btn,
.diagnosis-form button {
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-cta {
  min-width: 108px;
  padding: 0 16px;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 116px);
  padding: clamp(42px, 6vw, 76px) clamp(18px, 5vw, 72px) 50px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(244, 247, 249, 0.2)),
    #f4f7f9;
}

.capability-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(620px, 1.28fr);
  gap: clamp(34px, 6vw, 84px);
  padding: clamp(74px, 8vw, 112px) clamp(18px, 5vw, 72px);
  color: #ffffff;
  background: #102b32;
}

.capability-intro {
  align-self: center;
  max-width: 570px;
}

.capability-intro .eyebrow {
  color: #99f6e4;
}

.capability-intro h2 {
  color: #ffffff;
}

.capability-intro > p {
  color: #cbdde0;
  font-size: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #99f6e4;
  font-weight: 900;
}

.capability-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.capability-lines article {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 180ms ease;
}

.capability-lines article:hover {
  background: rgba(255, 255, 255, 0.055);
}

.capability-lines article > span {
  display: block;
  margin-bottom: 34px;
  color: #7dd3c7;
  font-size: 11px;
  font-weight: 900;
}

.capability-lines article > svg {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 27px;
  height: 27px;
  color: #99f6e4;
}

.capability-lines h3 {
  color: #ffffff;
}

.capability-lines p {
  margin: 0;
  color: #b9ced2;
  font-size: 14px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 5.35vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.3;
}

.hero-lede,
.section-heading p,
.diagnosis-copy > p {
  color: #475569;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 28px;
}

.primary-btn,
.secondary-btn {
  padding: 0 18px;
}

.secondary-btn:hover {
  color: var(--teal-dark);
  border-color: rgba(8, 110, 103, 0.38);
  box-shadow: 0 12px 30px rgba(20, 34, 52, 0.08);
  transform: translateY(-1px);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  color: #334155;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}

svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  padding: 18px;
  background: linear-gradient(145deg, #ffffff, #edf7f5);
  border: 1px solid rgba(219, 226, 234, 0.95);
  border-radius: 8px;
  box-shadow: 0 30px 76px rgba(20, 34, 52, 0.14);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 84px -24px -42px 46%;
  background:
    linear-gradient(rgba(15, 118, 110, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.1) 1px, transparent 1px);
  background-size: 38px 38px;
  border-radius: 8px;
  transform: rotate(-4deg);
}

.browser-bar {
  position: relative;
  display: flex;
  gap: 8px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  border-radius: 50%;
}

.visual-title {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0 0;
}

.visual-title span,
.visual-title strong {
  display: block;
}

.visual-title span {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
}

.visual-title strong {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
}

.visual-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  padding-top: 18px;
}

.status-panel,
.metric-card,
.doc-stack {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(219, 226, 234, 0.95);
  border-radius: 8px;
}

.status-panel {
  grid-row: span 2;
  padding: 22px;
}

.panel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-top span,
.metric-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.panel-top strong {
  color: var(--teal-dark);
}

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

.status-panel ul,
.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.status-panel li,
.check-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 13px;
  color: #334155;
}

.metric-card {
  min-height: 138px;
  padding: 20px;
}

.metric-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 40px;
  line-height: 1;
}

.metric-card small {
  color: var(--muted);
}

.metric-card.amber strong {
  color: var(--amber);
}

.metric-card.teal strong {
  color: var(--teal-dark);
}

.doc-stack,
.assurance-grid {
  grid-column: span 2;
}

.doc-stack {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.doc-stack span {
  height: 18px;
  background: linear-gradient(90deg, #cbd5e1, transparent);
  border-radius: 999px;
}

.doc-stack span:nth-child(2) {
  width: 72%;
}

.doc-stack span:nth-child(3) {
  width: 48%;
}

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

.assurance-grid div {
  min-height: 118px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(219, 226, 234, 0.95);
  border-radius: 8px;
}

.assurance-grid svg {
  width: 24px;
  height: 24px;
  margin-bottom: 16px;
  color: var(--teal-dark);
}

.assurance-grid strong,
.assurance-grid span {
  display: block;
}

.assurance-grid strong {
  font-size: 15px;
}

.assurance-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.pain-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pain-band div {
  padding: 22px;
  background: var(--white);
}

.pain-band div::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 16px;
  background: var(--teal-dark);
}

.pain-band strong,
.pain-band span {
  display: block;
}

.pain-band span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.section,
.diagnosis-section {
  padding: clamp(70px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
  padding-left: 20px;
  border-left: 3px solid var(--teal-dark);
}

.section-heading.compact {
  max-width: 900px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--card-accent, var(--teal-dark));
}

.service-card:nth-child(4n + 2) {
  --card-accent: var(--blue);
}

.service-card:nth-child(4n + 3) {
  --card-accent: var(--amber);
}

.service-card:nth-child(4n + 4) {
  --card-accent: var(--rose);
}

.service-card:hover,
.method-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.34);
  box-shadow: 0 18px 48px rgba(24, 33, 47, 0.1);
}

.service-card > svg {
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  padding: 8px;
  width: 46px;
  height: 46px;
  color: var(--card-accent, var(--teal-dark));
  background: #f2f6f8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.service-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--teal-dark);
  font-weight: 800;
}

.service-boundary {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 18px 20px;
  color: #713f12;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
}

.service-boundary svg {
  margin-top: 3px;
  color: #d97706;
}

.service-boundary strong,
.service-boundary span {
  display: block;
}

.service-boundary span {
  margin-top: 4px;
  color: #854d0e;
  font-size: 14px;
}

.process-section {
  background: #f8fafb;
  border-block: 1px solid var(--line);
}

.method-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

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

.method-grid article {
  min-height: 230px;
  padding: 24px;
  background: #f6f8fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.method-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: #ffffff;
  font-weight: 900;
  background: var(--teal-dark);
  border-radius: 8px;
}

.method-grid p {
  color: var(--muted);
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(70px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background: linear-gradient(115deg, #102338, #102c35 58%, #0a655f);
  color: #ffffff;
}

.proof-copy {
  max-width: 720px;
}

.proof-copy .eyebrow {
  color: #9ff3e5;
}

.proof-copy h2 {
  color: #ffffff;
}

.proof-copy p {
  color: #dbeafe;
  font-size: 18px;
}

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

.proof-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.proof-list svg {
  color: #9ff3e5;
}

.proof-list span {
  font-weight: 800;
}

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

.timeline article {
  padding: 26px 24px;
  border-left: 3px solid var(--teal);
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--amber);
  font-size: 14px;
  font-weight: 900;
}

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

.contact-section {
  padding: clamp(74px, 8vw, 112px) clamp(18px, 5vw, 72px);
  background: #f2f7f8;
  border-bottom: 1px solid var(--line);
}

.contact-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(460px, 1.15fr);
  column-gap: clamp(34px, 6vw, 90px);
  align-items: end;
  margin-bottom: 38px;
}

.contact-heading .eyebrow {
  grid-column: 1 / -1;
}

.contact-heading h2,
.contact-heading > p:last-child {
  margin-bottom: 0;
}

.contact-heading > p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #ffffff;
}

.company-facts > div {
  position: relative;
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-facts svg {
  width: 25px;
  height: 25px;
  margin-bottom: 22px;
  color: var(--teal-dark);
}

.company-facts span,
.company-facts strong {
  display: block;
}

.company-facts span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.company-facts strong {
  font-size: 15px;
  line-height: 1.5;
}

.contact-channels {
  display: grid;
  grid-template-columns: minmax(420px, 1.12fr) minmax(360px, 0.88fr);
  margin-top: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.1);
}

.phone-channel {
  padding: clamp(28px, 4vw, 48px);
  background: #102b32;
  color: #ffffff;
}

.channel-label {
  display: block;
  margin-bottom: 16px;
  color: #7dd3c7;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.phone-channel h3,
.wechat-channel h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.5vw, 32px);
}

.phone-channel h3 {
  color: #ffffff;
}

.phone-channel > p {
  max-width: 640px;
  color: #c7dade;
}

.phone-channel > a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  margin: 14px 0 22px;
  padding: 16px 18px;
  color: #12343b;
  background: #99f6e4;
  border-radius: 8px;
}

.phone-channel > a > svg {
  width: 28px;
  height: 28px;
}

.phone-channel > a span,
.phone-channel > a small,
.phone-channel > a strong {
  display: block;
}

.phone-channel > a small {
  font-size: 11px;
  font-weight: 800;
}

.phone-channel > a strong {
  margin-top: 2px;
  font-size: 22px;
  line-height: 1.1;
}

.phone-channel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.phone-channel li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d9e8ea;
  font-size: 13px;
}

.phone-channel li svg {
  width: 15px;
  height: 15px;
  color: #99f6e4;
}

.wechat-channel {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 240px);
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
}

.wechat-channel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.wechat-channel img {
  display: block;
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  background: #ffffff;
}

.trademark-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.trademark-status svg {
  color: var(--teal-dark);
}

.diagnosis-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  background: linear-gradient(180deg, #eef4f5, #f7f9fa);
}

.diagnosis-copy {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.82)),
    var(--white);
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.1);
}

.diagnosis-copy .eyebrow {
  margin-bottom: 0;
}

.diagnosis-copy h2 {
  margin-bottom: 0;
}

.diagnosis-copy > p {
  margin-bottom: 4px;
}

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

.intake-flow div {
  min-height: 132px;
  padding: 15px;
  background: #ffffff;
  border: 1px solid rgba(219, 226, 234, 0.95);
  border-radius: 8px;
}

.intake-flow span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
}

.intake-flow strong,
.intake-flow small {
  display: block;
}

.intake-flow small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.check-list {
  margin-top: 28px;
}

.check-list li {
  align-items: flex-start;
  margin-top: 16px;
}

.check-list svg {
  color: var(--teal-dark);
  transform: translateY(3px);
}

.intake-promise {
  display: grid;
  gap: 12px;
}

.intake-promise div {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 12px;
  row-gap: 2px;
  align-items: start;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(219, 226, 234, 0.95);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.intake-promise svg {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  color: var(--teal-dark);
}

.intake-promise strong {
  font-size: 15px;
}

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

.intake-scope {
  padding: 16px;
  background: linear-gradient(135deg, #0f766e, #134e4a);
  border-radius: 8px;
  color: #ffffff;
}

.intake-scope strong {
  display: block;
  margin-bottom: 10px;
}

.intake-scope ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.intake-scope li {
  position: relative;
  padding-left: 18px;
  color: #d7fff7;
  font-size: 13px;
}

.intake-scope li::before {
  content: "";
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 6px;
  height: 6px;
  background: #99f6e4;
  border-radius: 50%;
  transform: translateY(-50%);
}

.diagnosis-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), #ffffff),
    var(--white);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

.form-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.form-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.form-head h3 {
  margin-bottom: 6px;
  font-size: clamp(24px, 2.6vw, 32px);
}

.form-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-badge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  color: #134e4a;
  background: #edf8f6;
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.form-badge svg {
  margin-top: 1px;
  color: var(--teal-dark);
}

.diagnosis-form label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

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

.field-card {
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.field-card:focus-within {
  background: #ffffff;
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.1);
}

.diagnosis-form input,
.diagnosis-form select,
.diagnosis-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.diagnosis-form select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, #475569 50%),
    linear-gradient(135deg, #475569 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 50%,
    calc(100% - 13px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.diagnosis-form textarea {
  resize: vertical;
}

.diagnosis-form input:focus,
.diagnosis-form select:focus,
.diagnosis-form textarea:focus {
  border-color: var(--teal);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14);
}

.diagnosis-form button {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0;
  justify-content: center;
}

.diagnosis-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  white-space: pre-line;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
}

.form-note.generated {
  padding: 14px;
  color: #134e4a;
  background: #ccfbf1;
  border-radius: 8px;
}

.form-note.error {
  color: #7f1d1d;
  background: #fee2e2;
}

.resource-table {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.resource-table > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.resource-table > div:last-child {
  border-bottom: 0;
}

.resource-table strong {
  color: var(--ink);
}

.resource-table span {
  color: var(--muted);
}

.compliance-note {
  display: flex;
  gap: 14px;
  margin: 0 clamp(18px, 5vw, 72px) clamp(48px, 6vw, 76px);
  padding: 18px;
  color: #713f12;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
}

.compliance-note p {
  margin: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #cbd5e1;
  background: #0e1f2f;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-actions span {
  margin: 0;
}

.floating-consult {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 18px;
  color: #ffffff;
  background: #0f766e;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.24);
  font-size: 14px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.floating-consult:hover {
  background: #115e59;
  transform: translateY(-3px);
}

.mobile-action-bar {
  display: none;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  margin-top: 4px;
  color: #94a3b8;
  font-size: 14px;
}

.site-footer a {
  color: #ffffff;
  font-weight: 800;
}

.admin-page {
  min-height: 100vh;
  background: #eef3f6;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.admin-refresh {
  min-height: 42px;
  padding: 0 16px;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  background: var(--teal-dark);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.admin-refresh:hover,
.user-card-actions button:hover {
  background: #075f59;
}

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

.admin-logout {
  min-height: 42px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.admin-logout:hover {
  color: var(--teal-dark);
  border-color: rgba(8, 110, 103, 0.38);
  background: #f4fbfa;
}

.admin-main {
  width: min(100%, 1520px);
  margin: 0 auto;
  padding: clamp(30px, 4vw, 56px) clamp(18px, 4vw, 56px);
}

.admin-hero {
  max-width: 840px;
  margin-bottom: 30px;
}

.admin-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.2vw, 42px);
}

.admin-hero p {
  color: var(--muted);
  font-size: 17px;
}

.referral-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #0f766e, #134e4a);
  border-radius: 8px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.referral-panel[hidden] {
  display: none;
}

.referral-panel h2 {
  margin-bottom: 6px;
  font-size: 24px;
  color: #ffffff;
}

.referral-panel p {
  margin: 0;
  color: #d7fff7;
}

.referral-panel .eyebrow {
  color: #99f6e4;
}

.referral-panel label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.referral-panel input {
  min-height: 46px;
  padding: 0 13px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
}

.referral-panel button {
  min-height: 46px;
  padding: 0 16px;
  color: #134e4a;
  font: inherit;
  font-weight: 900;
  background: #ccfbf1;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.lead-panel {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(20, 34, 52, 0.07);
}

.source-panel {
  margin-bottom: 22px;
}

.user-panel {
  margin-bottom: 22px;
}

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

.lead-panel-top > div {
  display: grid;
  gap: 4px;
}

.lead-panel-top h2 {
  margin: 0;
  font-size: 22px;
}

.lead-panel-top span {
  color: var(--muted);
  font-weight: 800;
}

.panel-note {
  max-width: 360px;
  text-align: right;
  font-size: 13px;
}

.lead-filter {
  display: grid;
  gap: 7px;
  min-width: 220px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.lead-filter[hidden] {
  display: none;
}

.lead-filter select {
  min-height: 42px;
  padding: 0 40px 0 12px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  background:
    linear-gradient(45deg, transparent 50%, #475569 50%) calc(100% - 19px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, #475569 50%, transparent 50%) calc(100% - 13px) 50% / 6px 6px no-repeat,
    #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  appearance: none;
}

.lead-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.source-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.source-list > .empty-state {
  grid-column: 1 / -1;
}

.user-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.user-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  background: #ffffff;
}

.user-card-main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.user-card-main > span {
  justify-self: start;
  padding: 3px 9px;
  color: #854d0e;
  background: #fef3c7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.user-card.status-active .user-card-main > span {
  color: #166534;
  background: #dcfce7;
}

.user-card.status-disabled .user-card-main > span {
  color: #991b1b;
  background: #fee2e2;
}

.user-card-main strong {
  font-size: 18px;
}

.user-card-main small {
  color: var(--muted);
}

.user-card-main input {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  color: #334155;
  font: inherit;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.user-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.user-card-actions button {
  min-height: 38px;
  padding: 0 12px;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  background: var(--teal-dark);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.user-card-actions .danger {
  background: #be123c;
}

.source-card {
  padding: 20px 24px;
  background: #ffffff;
}

.source-card > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.source-card > strong {
  display: block;
  margin-bottom: 16px;
  font-size: 20px;
}

.source-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.source-card dt {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.source-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.lead-card,
.empty-state {
  margin: 0;
  padding: 22px 24px;
  background: #ffffff;
}

.lead-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.lead-card-top strong {
  font-size: 18px;
}

.lead-card-top time,
.empty-state {
  color: var(--muted);
}

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

.lead-card dl div {
  min-width: 0;
}

.lead-card dl .wide {
  grid-column: 1 / -1;
}

.lead-card dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.lead-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.login-page {
  min-height: 100vh;
  background: #eaf0f3;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(340px, 0.75fr);
  gap: 0;
  align-items: stretch;
  min-height: 100vh;
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  padding: 42px 0;
}

.login-panel {
  display: grid;
  gap: 30px;
  max-width: none;
  min-height: 680px;
  align-content: center;
  padding: clamp(26px, 4vw, 42px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 28px 80px rgba(20, 34, 52, 0.13);
}

.login-copy h1 {
  margin-bottom: 16px;
  font-size: clamp(32px, 3.5vw, 44px);
}

.login-copy p {
  color: var(--muted);
  font-size: 17px;
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.login-form input {
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
}

.login-form input:focus {
  border-color: var(--teal);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14);
}

.login-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  background: var(--teal-dark);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.18);
}

.login-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.login-form button:hover:not(:disabled) {
  background: #075f59;
  box-shadow: 0 14px 34px rgba(8, 110, 103, 0.24);
}

.login-message {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.login-message.error {
  color: #be123c;
}

.login-switch {
  margin: 0;
  padding-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.login-switch a {
  color: var(--teal-dark);
  font-weight: 900;
}

.login-visual {
  display: grid;
  align-content: center;
  gap: 0;
  min-height: 100%;
  padding: clamp(26px, 4vw, 44px);
  color: #ffffff;
  background: var(--navy);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 28px 80px rgba(20, 34, 52, 0.13);
}

.login-visual div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 22px 4px;
  color: #ffffff;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
}

.login-visual svg {
  width: 28px;
  height: 28px;
  color: #99f6e4;
}

.login-visual span {
  font-size: 18px;
  font-weight: 900;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .site-header,
  .service-card,
  .method-grid article,
  .reveal-on-scroll {
    transition: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hero,
  .diagnosis-section,
  .capability-section {
    grid-template-columns: 1fr;
  }

  .capability-intro {
    max-width: 760px;
  }

  .contact-heading,
  .contact-channels {
    grid-template-columns: 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 440px;
  }

  .pain-band,
  .service-grid,
  .method-grid,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .proof-section {
    grid-template-columns: 1fr;
  }

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

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

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

  .diagnosis-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 76px;
  }

  .login-page,
  .admin-page {
    padding-bottom: 0;
  }

  .site-header {
    min-height: 66px;
    padding-inline: 14px;
  }

  .brand small,
  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

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

  .opening-strip span {
    min-height: 38px;
    padding: 6px 8px;
    font-size: 11px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  h1 {
    font-size: 38px;
  }

  .hero-actions,
  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .pain-band,
  .service-grid,
  .method-grid,
  .proof-list,
  .assurance-grid,
  .capability-lines,
  .intake-flow,
  .timeline {
    grid-template-columns: 1fr;
  }

  .company-facts,
  .wechat-channel {
    grid-template-columns: 1fr;
  }

  .company-facts > div {
    min-height: 128px;
  }

  .phone-channel > a {
    width: 100%;
    min-width: 0;
  }

  .wechat-channel img {
    width: min(100%, 310px);
    margin: 0 auto;
  }

  .trademark-status {
    align-items: flex-start;
  }

  .admin-header,
  .lead-panel-top,
  .lead-card-top,
  .user-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .user-card {
    display: flex;
  }

  .user-card-actions {
    justify-content: flex-start;
  }

  .panel-note {
    text-align: left;
  }

  .admin-actions {
    width: 100%;
  }

  .admin-refresh,
  .admin-logout {
    flex: 1;
  }

  .login-shell {
    grid-template-columns: 1fr;
    width: min(calc(100% - 28px), 520px);
    min-height: 100vh;
    padding: 24px 0;
  }

  .login-panel {
    min-height: auto;
    padding: 26px 22px;
    border-right: 1px solid var(--line);
    border-radius: 8px;
  }

  .login-visual {
    display: none;
  }

  .lead-card dl {
    grid-template-columns: 1fr;
  }

  .source-list {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

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

  .status-panel,
  .doc-stack,
  .assurance-grid {
    grid-column: auto;
  }

  .resource-table > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

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

  .floating-consult {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 68px;
    padding: 10px 14px;
    color: #ffffff;
    background: rgba(16, 43, 50, 0.97);
    border-top: 1px solid rgba(153, 246, 228, 0.24);
    backdrop-filter: blur(16px);
  }

  .mobile-action-bar div,
  .mobile-action-bar strong,
  .mobile-action-bar span {
    display: block;
  }

  .mobile-action-bar strong {
    font-size: 13px;
  }

  .mobile-action-bar span {
    color: #b9ced2;
    font-size: 11px;
  }

  .mobile-action-bar a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 10px 15px;
    color: #0f3d38;
    background: #99f6e4;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
  }
}
