:root {
  --ink: #121822;
  --ink-soft: #24303a;
  --paper: #f4f3ee;
  --paper-deep: #e8e5dc;
  --line: rgba(28, 39, 47, 0.14);
  --muted: #64706f;
  --teal: #4eb7bc;
  --teal-dark: #2d777a;
  --sage: #8b927e;
  --brass: #a58a5d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 21, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.9);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(244, 243, 238, 0.92);
  box-shadow: 0 8px 28px rgba(18, 24, 34, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
}

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

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  color: currentColor;
  font-size: 11px;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-size: 14px;
}

.site-nav a {
  opacity: 0.82;
}

.site-nav a:hover {
  opacity: 1;
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  white-space: nowrap;
}

.header-action span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.hero {
  position: relative;
  display: grid;
  min-height: 86vh;
  overflow: hidden;
  color: var(--white);
  background: #10151f;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  content: "";
  background: linear-gradient(180deg, rgba(16, 21, 31, 0), #10151f);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.84;
}

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

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 64px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #10151f;
  background: var(--teal);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: rgba(255, 255, 255, 0.88);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(820px, 100%);
  margin: 80px 0 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.12);
}

.hero-facts div {
  padding: 20px 24px;
  background: rgba(16, 21, 31, 0.68);
}

.hero-facts dt {
  margin: 0;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.section {
  padding: clamp(74px, 8vw, 116px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band {
  color: var(--paper);
  background: #10151f;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.16;
  letter-spacing: 0;
}

.prose {
  color: rgba(244, 243, 238, 0.74);
  font-size: 18px;
}

.prose p {
  margin: 0 0 18px;
}

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

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 300px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
}

.card-index {
  display: block;
  color: var(--brass);
  font-size: 13px;
  font-weight: 800;
}

.service-card h3 {
  margin: 52px 0 16px;
  font-size: 25px;
  line-height: 1.25;
}

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

.muted {
  background: var(--paper-deep);
}

.advantage-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.advantage-copy {
  position: sticky;
  top: 108px;
  color: var(--ink-soft);
  font-size: 20px;
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(18, 24, 34, 0.16);
}

.process-list strong {
  color: var(--teal-dark);
  font-size: 20px;
}

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

.scenario-section {
  background: var(--paper);
}

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

.scenario-grid span {
  min-height: 76px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink-soft);
  font-weight: 700;
}

.contact-section {
  padding: clamp(76px, 8vw, 120px) 0;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(78, 183, 188, 0.14), rgba(165, 138, 93, 0.08)),
    #121822;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}

.contact-copy {
  max-width: 680px;
  color: rgba(244, 243, 238, 0.72);
  font-size: 19px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.phone-link {
  color: var(--white);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
}

.contact-actions span {
  color: rgba(244, 243, 238, 0.58);
}

.qr-card {
  margin: 0;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.qr-card img {
  width: 100%;
  height: auto;
}

.qr-card figcaption {
  margin-top: 14px;
  color: rgba(244, 243, 238, 0.66);
  text-align: center;
}

.site-footer {
  padding: 26px 0;
  color: rgba(244, 243, 238, 0.62);
  background: #0d1118;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner a:hover {
  color: var(--white);
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-inner {
    padding-top: 128px;
  }

  .hero-facts,
  .service-grid,
  .two-column,
  .advantage-layout,
  .scenario-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    margin-top: 52px;
  }

  .service-card {
    min-height: auto;
  }

  .service-card h3 {
    margin-top: 30px;
  }

  .advantage-copy {
    position: static;
  }

  .contact-layout {
    align-items: start;
  }

  .qr-card {
    width: min(320px, 100%);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 16px 20px;
  }

  .brand small,
  .header-action {
    display: none;
  }

  .hero-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 32px, 1180px);
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .hero-facts div {
    padding: 18px;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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