:root {
  color-scheme: light;
  --ink: #252123;
  --text: #423a3d;
  --muted: #746b70;
  --line: #eadfd8;
  --surface: #fff8f3;
  --paper: #ffffff;
  --soft: #f7eee8;
  --rose: #c24e68;
  --rose-deep: #8f3348;
  --sage: #2c7d73;
  --sage-deep: #1f5550;
  --honey: #c98d3c;
  --shadow: 0 22px 55px rgba(54, 36, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffaf6 0%, #fff7f1 38%, #f8f0ea 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.68;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 248, 243, 0.86);
  border-bottom: 1px solid rgba(234, 223, 216, 0.8);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--sage), var(--rose));
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(44, 125, 115, 0.24);
  font-weight: 800;
}

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

.brand strong {
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 22px;
  color: #40383c;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  color: var(--rose-deep);
  border-color: var(--rose);
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #251f20;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 248, 243, 0), var(--surface));
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(0.98);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(34, 25, 27, 0.84) 0%, rgba(34, 25, 27, 0.68) 38%, rgba(34, 25, 27, 0.18) 72%),
    linear-gradient(0deg, rgba(36, 28, 29, 0.42), rgba(36, 28, 29, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 710px;
  padding: 92px clamp(20px, 6vw, 76px) 148px;
  color: #fff;
}

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

.hero .eyebrow {
  display: inline-flex;
  padding: 7px 10px;
  color: #fff3dd;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

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

h1 {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.hero-text {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
}

.hero-facts span {
  position: relative;
  padding-left: 14px;
}

.hero-facts span::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 5px;
  height: 5px;
  background: #f2bd74;
  border-radius: 50%;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button.primary {
  color: #fff;
  background: var(--rose);
  border-color: var(--rose);
  box-shadow: 0 16px 36px rgba(194, 78, 104, 0.32);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.section,
.band,
.app-section,
.legal-band {
  padding: 96px clamp(20px, 6vw, 76px);
}

.intro,
.split,
.contact,
.legal-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.intro {
  padding-top: 72px;
}

.intro p,
.split p,
.contact p,
.app-section p {
  color: var(--muted);
  font-size: 17px;
}

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

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

.card {
  position: relative;
  min-height: 244px;
  padding: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(234, 223, 216, 0.95);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(54, 36, 34, 0.07);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--rose), var(--honey));
}

.card p,
.assurance-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  place-items: center;
  color: #fff;
  background: var(--sage);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(44, 125, 115, 0.22);
  font-weight: 800;
}

.band {
  background:
    linear-gradient(180deg, rgba(255, 248, 243, 0), rgba(255, 255, 255, 0.72)),
    #efe6df;
}

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

.steps li {
  position: relative;
  min-height: 194px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(54, 36, 34, 0.06);
}

.steps li::before {
  content: "0" counter(list-item);
  display: block;
  margin-bottom: 18px;
  color: var(--honey);
  font-size: 13px;
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 10px;
  color: var(--rose-deep);
  font-size: 20px;
}

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

.assurance-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.assurance-list div {
  padding: 0 28px;
  border-left: 1px solid var(--line);
}

.assurance-list div:first-child {
  padding-left: 0;
  border-left: 0;
}

.app-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(31, 85, 80, 0.98), rgba(34, 37, 42, 0.98)),
    #223b3a;
}

.app-section .eyebrow {
  color: #f4c27e;
}

.app-section p {
  color: rgba(255, 255, 255, 0.78);
}

.phone-shell {
  width: min(308px, 82vw);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.phone-screen {
  min-height: 560px;
  padding: 24px 18px;
  border-radius: 24px;
  background: #fff8f3;
}

.phone-top {
  width: 82px;
  height: 6px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: #d8d0ca;
}

.mock-card,
.mock-row span,
.mock-list,
.mock-button {
  border-radius: 8px;
}

.mock-card {
  height: 140px;
  background:
    linear-gradient(135deg, rgba(44, 125, 115, 0.86), rgba(194, 78, 104, 0.78)),
    #c24e68;
  box-shadow: 0 14px 28px rgba(194, 78, 104, 0.2);
}

.mock-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.mock-row span {
  height: 72px;
  background: #eee2dc;
}

.mock-list {
  height: 18px;
  margin-bottom: 14px;
  background: #d8cbc4;
}

.mock-list.short {
  width: 66%;
}

.mock-button {
  height: 48px;
  margin-top: 44px;
  background: var(--rose);
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.feature-list li {
  padding: 13px 0 13px 18px;
  border-left: 3px solid #f4c27e;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.company-box,
.contact-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(54, 36, 34, 0.07);
}

.company-box p,
.contact-card p {
  margin-bottom: 12px;
}

.company-box p:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  color: var(--rose-deep);
  font-weight: 800;
}

.legal-band {
  align-items: center;
  background: #efe6df;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.legal-links a {
  min-width: 160px;
  padding: 14px 18px;
  color: #fff;
  text-align: center;
  background: var(--sage-deep);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(31, 85, 80, 0.18);
  font-weight: 800;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px clamp(20px, 6vw, 76px);
  color: #fbf1ec;
  background: #241d20;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #fff;
}

@media (max-width: 980px) {
  .service-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro,
  .split,
  .contact,
  .legal-band,
  .app-section {
    grid-template-columns: 1fr;
  }

  .assurance-list {
    gap: 18px;
  }

  .assurance-list div {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .assurance-list div:first-child {
    padding-left: 22px;
    border-left: 1px solid var(--line);
  }

  .legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
    gap: 2px 18px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(34, 25, 27, 0.88), rgba(34, 25, 27, 0.46));
  }

  .hero-content {
    padding: 64px 20px 104px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-facts {
    gap: 8px 16px;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .steps,
  .assurance-list {
    grid-template-columns: 1fr;
  }

  .section,
  .band,
  .app-section,
  .legal-band {
    padding: 64px 20px;
  }

  .intro {
    padding-top: 54px;
  }

  .card,
  .steps li,
  .company-box,
  .contact-card {
    padding: 24px;
  }
}
