:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-soft: #eef4ef;
  --text: #17201b;
  --muted: #5d6a62;
  --line: #dbe3dd;
  --primary: #176b4d;
  --primary-dark: #0f4c38;
  --accent: #2f6fbb;
  --gold: #b98535;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(23, 32, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 227, 221, 0.82);
  background: rgba(247, 248, 245, 0.94);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

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

.nav-links a {
  text-decoration: none;
}

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

.hero {
  min-height: clamp(560px, calc(100vh - 128px), 680px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(247, 248, 245, 0.98) 0%, rgba(247, 248, 245, 0.9) 46%, rgba(247, 248, 245, 0.58) 100%),
    url("app-icon.png") right 8vw center / min(44vw, 560px) no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(247, 248, 245, 0), var(--bg));
  pointer-events: none;
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 120px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(52px, 10vw, 116px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin: 28px 0 0;
  color: #314139;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.55;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
}

.button.secondary {
  background: transparent;
  color: var(--primary-dark);
}

.section {
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 750;
}

.section-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-copy {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.coach-preview {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 4%, rgba(224, 240, 230, 0.95), rgba(255, 255, 255, 0.82) 38%, rgba(238, 244, 239, 0.96) 100%),
    url("pattern-consistency.png") center / cover no-repeat;
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

.coach-preview-hero {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.coach-preview-hero img {
  width: 142px;
  height: 142px;
  object-fit: cover;
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(23, 32, 27, 0.18);
}

.coach-preview-hero h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
}

.coach-preview-hero p {
  margin: 6px 0 0;
  color: var(--primary);
  font-weight: 700;
}

.voice-sample {
  border-radius: var(--radius);
  background: #f6f7f4;
  padding: 18px;
}

.voice-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.sample-bubble {
  width: fit-content;
  max-width: min(300px, 100%);
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
}

.sample-bubble.user {
  margin-left: auto;
  border-radius: 8px 8px 2px 8px;
  background: #d9ede2;
  color: #13513d;
}

.sample-bubble.coach {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 2px 8px 8px 8px;
  background: white;
  color: #26342d;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.workflow-step {
  min-height: 230px;
  background: var(--surface);
  padding: 26px;
}

.workflow-step span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-weight: 800;
}

.workflow-step h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.info-table th,
.info-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 180px;
  color: #33463b;
  background: var(--surface-soft);
  font-weight: 700;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}

.legal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.legal-link {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
  text-decoration: none;
}

.legal-link strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.legal-link span {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  background: #101814;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
}

.footer-title {
  margin: 0 0 8px;
  color: white;
  font-weight: 750;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.legal-page {
  background: var(--surface);
}

.legal-main {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 78px;
}

.legal-main h1 {
  max-width: none;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
}

.legal-main h2 {
  margin-top: 34px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
}

.legal-main p,
.legal-main li {
  color: #34453d;
}

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

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

.notice {
  border-left: 4px solid var(--gold);
  background: #fff9ee;
  padding: 14px 16px;
  color: #4f3b19;
}

@media (max-width: 820px) {
  .nav {
    height: auto;
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: clamp(560px, calc(100vh - 108px), 700px);
    align-items: flex-start;
    background:
      linear-gradient(180deg, rgba(247, 248, 245, 0.96) 0%, rgba(247, 248, 245, 0.86) 55%, rgba(247, 248, 245, 0.5) 100%),
      url("app-icon.png") center bottom 24px / min(62vw, 300px) no-repeat;
  }

  .hero-inner {
    padding: 44px 0 210px;
  }

  .feature-grid,
  .legal-list,
  .split,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    min-height: 0;
  }

  .workflow-step span {
    margin-bottom: 20px;
  }

  .section-inner {
    padding: 54px 0;
  }

  .coach-preview {
    min-height: 360px;
  }

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

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    border-bottom: 0;
  }
}
