:root {
  --ink: #161b2e;
  --ink-2: #3c4256;
  --muted: #6b7185;
  --line: #e6e8ee;
  --grey: #f5f6f8;
  --white: #ffffff;
  --accent: #ffd60a;
  --bubble-ai: #e8efff;
  --bubble-buyer: #eef0f3;
  --dark-2: #232a40;
  --no: #ff8a6b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 40px; } }
.narrow { max-width: 880px; }

section { padding: 64px 0; border-top: 1px solid var(--line); }
@media (min-width: 960px) { section { padding: 96px 0; } }
.band-grey { background: var(--grey); }
.band-white { background: var(--white); }
.band-dark { background: var(--ink); color: #fff; border-top: 0; }

h1 { font-size: clamp(40px, 7vw, 64px); line-height: 1.12; font-weight: 900; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.25; font-weight: 900; margin-bottom: 32px; }
h3 { font-size: 18px; line-height: 1.4; font-weight: 700; }
p { color: var(--ink-2); }
mark { background: var(--accent); color: inherit; padding: 0 6px; }
.small { font-size: 13px; color: var(--muted); }

/* buttons, tags */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 24px; border-radius: 10px;
  font-size: 16px; font-weight: 700; cursor: pointer; border: 1px solid transparent;
  font-family: inherit; white-space: nowrap;
}
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a3150; }
.btn-light { background: #fff; color: var(--ink); border-color: #cfd3dc; }
.btn-light:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.tag {
  display: inline-block; background: var(--accent); color: var(--ink);
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 5px; white-space: nowrap;
}
.tag-dark { background: var(--ink); color: #fff; }
.chip { font-size: 12px; color: var(--muted); background: var(--bubble-buyer); padding: 2px 10px; border-radius: 5px; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* promo bar + nav */
.promo-bar {
  background: var(--ink); color: #fff; font-size: 14px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px;
  padding: 8px 16px; text-align: center;
}
.promo-bar a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-size: 22px; font-weight: 900; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links > a:not(.btn):not(.nav-partner):hover { color: var(--muted); }
.nav-partner { background: var(--accent); font-weight: 700; padding: 8px 14px; border-radius: 8px; }
@media (max-width: 860px) {
  .nav-links > a:not(.btn):not(.nav-partner) { display: none; }
  .nav-links { gap: 10px; }
  .nav-partner { font-size: 13px; padding: 6px 10px; }
}

/* hero */
.hero { border-top: 0; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.eyebrow { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.lead { font-size: 18px; margin-top: 20px; }
.mobile-hint {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 20px; padding: 12px 16px; border: 1px dashed #cfd3dc; border-radius: 10px;
  font-size: 14px; color: var(--ink-2); background: #fff;
}
.mobile-hint span { display: inline-flex; align-items: center; gap: 8px; }
.mobile-hint svg { flex: none; }

.demo-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  box-shadow: 0 10px 40px rgba(22,27,46,.08); scroll-margin-top: 96px;
}
.demo-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.bubble { max-width: 85%; width: fit-content; padding: 10px 14px; border-radius: 12px; font-size: 14px; margin-top: 10px; }
.bubble.buyer { background: var(--bubble-buyer); }
.bubble.ai { background: var(--bubble-ai); margin-left: auto; }
.bubble-note { text-align: right; font-size: 12px; color: var(--muted); margin-top: 8px; }
.demo-divider {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 16px 0 6px;
}

/* grids, cards */
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.pain { background: var(--grey); border-radius: 16px; padding: 24px; }
.pain-big { font-size: 34px; font-weight: 900; line-height: 1.2; margin-bottom: 6px; }
.pain p { font-size: 14px; margin-top: 10px; }

.steps { gap: 28px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 900; }
.step p { font-size: 14px; margin-top: 4px; }

.feature { border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.feature .icon { display: block; color: var(--ink); margin-bottom: 14px; }
.feature p { font-size: 14px; margin-top: 8px; }

/* agent */
.agent-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .agent-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.band-dark h2 { margin: 16px 0 16px; }
.lead-dark { color: #c9cdd8; }
.agent-box { background: var(--dark-2); border-radius: 14px; padding: 20px 24px; }
.agent-box p { color: #e3e6ee; font-size: 15px; margin-top: 10px; }
.agent-box p:first-child { margin-top: 0; }
.agent-box b { display: inline-block; min-width: 3.5em; margin-right: 8px; }
.agent-box .ok { color: var(--accent); }
.agent-box .no { color: var(--no); }
.agent-box .small { color: #9aa0b2; margin-top: 14px; }

/* partner */
.partner { background: var(--accent); border-radius: 24px; padding: 32px 20px; }
@media (min-width: 720px) { .partner { padding: 48px; } }
.partner-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.partner h2 { margin: 16px 0 12px; }
.partner p { color: var(--ink); }
.rate { background: #fff; border-radius: 14px; padding: 24px; }
.rate b { display: block; font-size: 44px; font-weight: 900; line-height: 1.1; }
.rate span { font-size: 14px; color: var(--ink-2); }
.partner .small { color: var(--ink); margin-top: 24px; }

/* price */
.price-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-card { border: 2px solid var(--ink); border-radius: 18px; padding: 28px 24px; }
.price { color: var(--ink-2); margin-bottom: 20px; }
.price b { font-size: 48px; font-weight: 900; color: var(--ink); line-height: 1; }
.price b.year { font-size: 28px; margin-left: 16px; }
.checks { list-style: none; margin-bottom: 28px; }
.checks li { padding-left: 28px; position: relative; margin-top: 8px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.price-side { background: var(--grey); border-radius: 18px; padding: 28px 24px; }
.price-side p { margin-top: 10px; }
.price-side .small { margin-top: 18px; }

/* download */
.download-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .download-grid { grid-template-columns: 1fr 1fr; } }
.download-grid h2 { margin-bottom: 12px; }
.ref-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.ref-box p { font-size: 14px; margin: 4px 0 14px; }
.ref-code { background: var(--grey); border: 1px solid #cfd3dc; border-radius: 10px; padding: 12px 16px; font-size: 18px; font-weight: 700; letter-spacing: .05em; }

/* faq */
.faq { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq p { margin-top: 6px; }

/* footer */
.footer { background: var(--ink); color: #fff; padding: 40px 0; }
.footer p { color: #c9cdd8; font-size: 14px; }
.footer-grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1fr auto 1fr; } .footer .legal { text-align: right; } }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.footer nav a { text-decoration: underline; text-underline-offset: 3px; }
.footer .legal { font-size: 13px; color: #c9cdd8; }

.center { text-align: center; margin-top: 12px; }

/* legal pages */
.legal-page { padding: 56px 0 80px; }
.legal-page h1 { font-size: clamp(30px, 5vw, 40px); margin-bottom: 12px; }
.legal-page .draft { display: inline-block; font-size: 13px; color: var(--muted); background: var(--grey); padding: 2px 10px; border-radius: 5px; margin-bottom: 20px; }
.legal-page h2 { font-size: 20px; margin: 32px 0 8px; }
.legal-page p { margin-top: 8px; }
.legal-page .back { display: inline-block; margin-top: 40px; font-weight: 700; }

/* partner page */
.rule-row { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rule-row b { flex: none; width: 3.2em; font-size: 32px; font-weight: 900; line-height: 1.1; }
.rule-row span { color: var(--ink-2); }
.rule-foot { margin-top: 14px; }
.money-note { margin-top: 20px; }
.footer .icp { display: inline-block; margin-top: 4px; text-decoration: none; color: #9aa0b2; }
.center-actions { justify-content: center; margin-top: 36px; }
