:root {
  color-scheme: light;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #1f2738;
  --muted: #687086;
  --primary: #5367e8;
  --primary-dark: #4053cf;
  --line: #e6e9f2;
  --soft: #eef0ff;
  --shadow: 0 20px 60px rgba(42, 52, 104, 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.75;
}

a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(230, 233, 242, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; font-size: 20px; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: white; background: linear-gradient(145deg, #7180f5, #4357dc); box-shadow: 0 8px 18px rgba(67, 87, 220, 0.25); }
.nav-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; }
.nav-links a { color: #4f566a; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(105, 124, 244, 0.2), transparent 35%),
    radial-gradient(circle at 90% 20%, rgba(135, 202, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #fff, #f7f8fc);
}

.hero-inner {
  width: min(1120px, calc(100% - 40px));
  min-height: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 64px;
  padding: 80px 0;
}

.eyebrow { margin: 0 0 14px; color: var(--primary-dark); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; }
h1 { max-width: 720px; margin: 0; font-size: clamp(42px, 6vw, 70px); line-height: 1.12; letter-spacing: -0.04em; }
.hero-copy { max-width: 660px; margin: 24px 0 0; color: var(--muted); font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 14px; font-weight: 700; }
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button.primary { background: var(--primary); color: white; box-shadow: 0 12px 28px rgba(83, 103, 232, 0.28); }
.button.secondary { border: 1px solid var(--line); background: white; color: var(--text); }

.demo-card { padding: 26px; border: 1px solid rgba(255,255,255,.8); border-radius: 28px; background: rgba(255,255,255,.82); box-shadow: var(--shadow); transform: rotate(1.5deg); }
.demo-meta { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.score { width: 110px; height: 110px; margin: 30px auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--primary) 0 76%, #e9ecf6 76%); position: relative; }
.score::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: white; }
.score strong { position: relative; z-index: 1; font-size: 32px; }
.metric { margin-top: 15px; }
.metric-row { display: flex; justify-content: space-between; font-size: 13px; }
.bar { height: 8px; margin-top: 6px; overflow: hidden; border-radius: 8px; background: #ebedf5; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7180f5, #5367e8); }

.section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 88px 0; }
.section-heading { max-width: 680px; margin-bottom: 36px; }
.section-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.25; }
.section-heading p { color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 8px 32px rgba(42, 52, 104, 0.05); }
.card h3 { margin: 12px 0 8px; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--soft); color: var(--primary-dark); font-weight: 800; }
.steps { counter-reset: steps; }
.steps .card { position: relative; }
.steps .card::before { counter-increment: steps; content: "0" counter(steps); color: var(--primary); font-weight: 800; font-size: 13px; }

.legal-shell { width: min(900px, calc(100% - 40px)); margin: 48px auto 80px; }
.legal-hero { padding: 46px; border: 1px solid var(--line); border-radius: 26px 26px 0 0; background: linear-gradient(145deg, #fff, #f0f2ff); }
.legal-hero h1 { font-size: clamp(34px, 6vw, 50px); }
.legal-hero p { margin-bottom: 0; color: var(--muted); }
.legal-content { padding: 46px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 26px 26px; background: white; }
.legal-content h2 { margin-top: 38px; font-size: 24px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin-top: 26px; }
.legal-content p, .legal-content li { color: #4f566a; }
.legal-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal-content th, .legal-content td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-content th { background: #f6f7fb; }
.notice { margin: 24px 0; padding: 18px 20px; border-radius: 15px; background: #f2f4ff; color: #4351a4; }

.site-footer { padding: 38px 20px; border-top: 1px solid var(--line); background: white; color: var(--muted); text-align: center; font-size: 13px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-bottom: 12px; }

@media (max-width: 760px) {
  .nav { min-height: 60px; }
  .nav-links a:not(:last-child) { display: none; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 40px; padding: 62px 0; }
  .demo-card { transform: none; }
  .grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .legal-shell { margin-top: 24px; }
  .legal-hero, .legal-content { padding: 26px 22px; }
  .legal-content { overflow-x: auto; }
}
