:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #102030;
  --muted: #546476;
  --line: rgba(16, 32, 48, 0.12);
  --accent: #1e8a7c;
  --accent-2: #e76f51;
  --accent-3: #f4b942;
  --shadow: 0 24px 64px rgba(16, 32, 48, 0.12);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

main {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 24px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(244, 246, 248, 0.08) 0%, rgba(244, 246, 248, 0.72) 68%, rgba(244, 246, 248, 0.96) 100%),
    linear-gradient(90deg, rgba(16, 32, 48, 0.08) 0%, rgba(16, 32, 48, 0.04) 100%);
}

.topbar,
.hero-content {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(1120px, 100%);
  margin: 0 auto auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.hero-content {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 10vh 0 8vh;
  max-width: 780px;
}

.hero-logo {
  display: block;
  width: min(360px, 78vw);
  height: auto;
  margin: 0 0 18px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

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

h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1.02;
  max-width: 11ch;
}

.lede {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 54ch;
}

.actions,
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

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

.primary {
  background: var(--text);
  color: #fff;
}

.secondary {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(14px);
}

.band {
  width: min(1120px, calc(100% - 48px));
  margin: 24px auto 0;
  padding: 28px 0 0;
}

.band.alt {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 30px;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  line-height: 1.1;
}

.grid,
.steps {
  display: grid;
  gap: 16px;
}

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

.grid article,
.steps > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.grid h3,
.steps h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.grid p,
.steps p,
.contact-row p {
  color: var(--muted);
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent-2);
  font-weight: 700;
}

.contact {
  padding-bottom: 48px;
}

.contact-row {
  justify-content: space-between;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 34px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 880px) {
  .topbar,
  .contact-row,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero {
    min-height: 100vh;
    padding: 18px;
  }

  .hero-content {
    padding-top: 8vh;
  }

  .hero-logo {
    width: min(300px, 84vw);
  }

  .band {
    width: min(1120px, calc(100% - 36px));
  }
}
