/* Hope Labs — 官网共享样式 · Cream Calm 设计系统 */
:root {
  --bg: #FAF6F0;
  --card: #FFFFFF;
  --card-light: #F7F2EA;
  --border: #ECE6DC;
  --border-light: #F2EBDF;
  --text: #1A1612;
  --text-2: #7A7268;
  --text-dim: #A8A097;
  --accent: #5B6CFF;
  --accent-deep: #4655D6;
  --pink: #FF6B9D;
  --radius: 16px;
  --maxw: 960px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); text-decoration: underline; }

/* ---------- Nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: var(--maxw); margin: 0 auto;
  flex-wrap: wrap; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; display: block; }
.nav-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nav-links a { color: var(--text-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent;
  transition: transform .08s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--card-light); color: var(--text); }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 72px 0 56px; }
.hero .wave-lg { width: 72px; height: 72px; margin: 0 auto 24px; display: block; }
.hero h1 { font-size: 56px; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 16px; }
.hero .tagline { font-size: 22px; color: var(--text); font-weight: 600; margin-bottom: 12px; }
.hero .subline { font-size: 18px; color: var(--text-2); max-width: 560px; margin: 0 auto 32px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .byline { margin-top: 24px; font-size: 14px; color: var(--text-dim); }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-title { font-size: 32px; letter-spacing: -0.01em; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-2); font-size: 17px; max-width: 620px; margin: 0 auto 40px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { text-align: center; }
.step .num {
  width: 40px; height: 40px; border-radius: 999px; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 14px;
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 14px; }

/* ---------- Risk / notice strip ---------- */
.notice {
  background: var(--card-light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 28px; color: var(--text-2); font-size: 15px;
}
.notice strong { color: var(--text); }

/* ---------- Company band ---------- */
.company { text-align: center; }
.company p { color: var(--text-2); font-size: 17px; max-width: 600px; margin: 0 auto; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 40px 0; }
.footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); font-size: 14px; }
.footer .copy { color: var(--text-dim); font-size: 13px; }

/* ---------- Legal pages ---------- */
.legal { padding: 48px 0 24px; }
.legal h1 { font-size: 38px; margin-bottom: 8px; letter-spacing: -0.01em; }
.legal .updated { color: var(--text-dim); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { font-weight: 500; }
.back { display: inline-block; margin-top: 8px; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 680px; margin: 0 auto; }
.faq .qa { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq h3 { font-size: 17px; margin-bottom: 6px; }
.faq p { color: var(--text-2); font-size: 15px; }
.contact-box {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; text-align: center; max-width: 480px; margin: 0 auto 40px;
}
.contact-box .email { font-size: 22px; font-weight: 700; color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 42px; }
  .hero .tagline { font-size: 19px; }
  .section-title { font-size: 26px; }
  .nav { justify-content: center; }
  .footer .container { flex-direction: column; text-align: center; }
}
