:root {
  --ink: #17212b;
  --muted: #5e6a75;
  --line: #dfe5e8;
  --soft: #f6f8f8;
  --green: #1f8a5b;
  --green-dark: #126343;
  --blue: #2b6f9f;
  --white: #ffffff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.topbar-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 64px;
  padding: 0 24px;
}

.brand {
  font-size: 15px;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.lang-link {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 8px;
  text-decoration: none;
}

.hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.92) 42%, rgba(255, 255, 255, 0.35) 100%),
    url("/hero.png") center right / cover no-repeat;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-preload {
  height: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 0;
}

.hero-inner {
  margin: 0 auto;
  max-width: var(--max);
  padding: 54px 24px 66px;
  width: 100%;
}

.hero-copy {
  max-width: 620px;
  width: 100%;
}

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

h1 {
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h2 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0 0 14px;
}

h3 {
  font-size: 18px;
  margin: 0 0 6px;
}

.lead {
  color: #31404d;
  font-size: 19px;
  margin: 0 0 26px;
  overflow-wrap: anywhere;
}

.form-row {
  display: flex;
  gap: 10px;
  margin: 0 0 10px;
  max-width: 560px;
}

input[type="email"] {
  border: 1px solid #c8d2d7;
  border-radius: 6px;
  flex: 1;
  font-size: 16px;
  min-height: 52px;
  padding: 0 16px;
}

.button {
  align-items: center;
  background: var(--green);
  border: 0;
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: var(--green-dark);
}

.button.secondary {
  background: var(--ink);
}

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

.section {
  padding: 70px 24px;
}

.section.alt {
  background: var(--soft);
}

.section-inner {
  margin: 0 auto;
  max-width: var(--max);
}

.narrow {
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
}

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

.checklist {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.checklist li {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.flow {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 24px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 92px;
  padding: 16px;
}

.arrow {
  color: var(--blue);
  font-size: 24px;
  text-align: center;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  padding: 26px 24px;
}

.footer-inner {
  margin: 0 auto;
  max-width: var(--max);
}

.thank-you {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--soft);
}

.thank-you-panel {
  margin: 0 auto;
  max-width: 760px;
  padding: 56px 24px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.thanks-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #eef7f2;
}

.thanks-panel.is-visible {
  display: block;
}

@media (max-width: 860px) {
  .topbar-inner,
  .hero-inner,
  .section-inner {
    max-width: 100%;
    width: 100%;
  }

  .hero-copy {
    max-width: 100%;
    width: min(100%, 342px);
  }

  .section-inner {
    max-width: 342px;
  }

  .nav {
    display: none;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 58%, rgba(255, 255, 255, 0.72) 100%),
      url("/hero.png") center bottom / cover no-repeat;
    min-height: auto;
  }

  h1 {
    font-size: 28px;
    line-height: 1.18;
    word-break: break-all;
  }

  h2 {
    font-size: 23px;
    word-break: break-all;
  }

  .lead,
  p,
  li {
    word-break: break-word;
  }

  .form-row {
    flex-direction: column;
  }

  .grid.three,
  .grid.two,
  .flow {
    grid-template-columns: 1fr;
  }

  .arrow {
    transform: rotate(90deg);
  }
}
