:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --text: #1c2027;
  --text-2: #626b78;
  --text-3: #98a1af;
  --border: #e3e5ea;
  --accent: #2e9e6b;
  --accent-deep: #24865b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 560px at 50% -220px, rgba(46, 158, 107, 0.12), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.landing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.2px;
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(46, 158, 107, 0.28);
}

.hero {
  padding: 68px 0 0;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 20px 0 0;
  font-size: clamp(50px, 7.2vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h1 span {
  display: block;
  color: var(--accent);
}

.lead {
  max-width: 580px;
  margin: 24px auto 0;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.75;
  /* 窄屏换行时把两行分匀，避免最后一行只剩一两个词 */
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* 两个按钮同尺寸，只靠颜色分主次；绿色落在邀请码上，登录降为中性灰 */
.cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.cta-secondary {
  background: #e8ebf0;
  color: var(--text-2);
  box-shadow: none;
}

.cta-secondary:hover {
  background: #dde1e7;
  color: var(--text);
  transform: translateY(-1px);
}

.cta-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px rgba(46, 158, 107, 0.28);
}

.cta-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

/* button 默认会继承表单字体与行高，显式对齐 <a> */
button.cta {
  border: 0;
  font: inherit;
  font-size: 15.5px;
  font-weight: 650;
  cursor: pointer;
}

/* 390 宽两键并排需要再收一点内边距 */
@media (max-width: 480px) {
  .hero-actions {
    gap: 10px;
  }
  .cta {
    padding: 13px 22px;
    font-size: 15px;
  }
  button.cta {
    font-size: 15px;
  }
}

.shot {
  position: relative;
  /* 左右留 auto：否则会覆盖 .wrap 的 margin:0 auto，截图卡片左对齐不居中 */
  margin: 56px auto 0;
}

/* 截的是首屏，卡片底边是硬切；用一条和背景同色的渐变收口。
   高度跟宽度走：窄屏固定 96px 会盖到习惯第二行打卡，按比例缩才和桌面一致。 */
.shot::after {
  content: '';
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: 1px;
  height: clamp(44px, 12.9vw, 150px);
  border-radius: 0 0 18px 18px;
  background: linear-gradient(rgba(244, 245, 247, 0), var(--bg) 88%);
  pointer-events: none;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(20, 28, 45, 0.04), 0 30px 70px rgba(20, 28, 45, 0.12);
}

.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 980px;
  margin: 62px auto 0;
  padding-bottom: 76px;
  text-align: center;
}

.points h2 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 650;
}

.points p {
  margin: 0;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.7;
}

footer {
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 12.5px;
}

footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 36px;
}

footer a {
  color: var(--text-2);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 20px;
  }

  .hero {
    padding-top: 42px;
  }

  .lead {
    font-size: 15.5px;
  }

  /* 英文首屏文案在手机上不再强制断行，交给 balance 分匀，避免末尾只剩一个词 */
  html[lang='en'] .lead br {
    display: none;
  }

  .shot {
    margin-top: 38px;
  }

  .points {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 44px;
    padding-bottom: 52px;
  }

  footer .wrap {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
