:root {
  color-scheme: light;
  --bg: #fbf7ef;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #fffaf4;
  --text: #17201f;
  --muted: #63706d;
  --line: rgba(23, 32, 31, 0.12);
  --brand: #006c68;
  --brand-dark: #004c49;
  --accent: #eaa7aa;
  --accent-soft: #ffe6e5;
  --shadow: 0 18px 50px rgba(35, 28, 18, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 6%, rgba(255, 229, 214, 0.95), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(226, 247, 240, 0.95), transparent 28%),
    linear-gradient(180deg, #fffaf4 0%, #fbf7ef 48%, #f7efe5 100%);
  line-height: 1.65;
}

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

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  font-size: 20px;
  letter-spacing: 0;
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #f7e6c9;
  box-shadow: inset 0 0 0 1px rgba(0, 108, 104, 0.08);
}

.brand-mark::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--brand);
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
}

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

.nav-links a {
  color: var(--muted);
}

.page {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 44px;
  align-items: center;
  padding: 72px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 108, 104, 0.16);
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  margin: 22px 0 0;
  max-width: 680px;
  color: #3f4d4a;
  font-size: 19px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 650;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(0, 108, 104, 0.20);
}

.button.secondary {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(0, 108, 104, 0.18);
  box-shadow: none;
}

.phone-preview {
  position: relative;
  min-height: 520px;
  border-radius: 38px;
  background: linear-gradient(180deg, #123533, #0a1e1d);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-preview::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 30px;
  background: #fffbf6;
}

.chat-demo {
  position: absolute;
  inset: 34px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-title {
  text-align: center;
  font-weight: 720;
  color: #182320;
}

.bubble {
  max-width: 82%;
  padding: 13px 15px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.55;
}

.bubble.user {
  align-self: flex-end;
  color: #0e2f2d;
  background: #dff8d4;
  border-top-right-radius: 6px;
}

.bubble.ai {
  align-self: flex-start;
  background: #fff;
  border: 1px solid rgba(23, 32, 31, 0.08);
  border-top-left-radius: 6px;
  box-shadow: 0 10px 26px rgba(35, 28, 18, 0.08);
}

.insight {
  margin-top: 8px;
  padding: 14px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: #492b2c;
  font-size: 14px;
}

.section {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.16;
  letter-spacing: 0;
}

.section-intro {
  max-width: 780px;
  color: var(--muted);
  font-size: 17px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(35, 28, 18, 0.06);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

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

.legal-page {
  max-width: 880px;
  padding: 54px 0 72px;
}

.legal-page h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.legal-meta {
  margin: 14px 0 34px;
  color: var(--muted);
}

.legal-page h2 {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 24px;
}

.legal-page ul {
  padding-left: 22px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 820px) {
  .nav {
    width: min(100vw - 28px, 680px);
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .page {
    width: min(100vw - 28px, 680px);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .phone-preview {
    min-height: 440px;
  }

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

  .footer-inner {
    width: min(100vw - 28px, 680px);
    flex-direction: column;
  }
}
