:root {
  --navy: #13233f;
  --navy-2: #1f3560;
  --text: #1f2633;
  --soft: #515a6b;
  --muted: #8a92a3;
  --line: #e4e7ec;
  --gray: #f5f6f8;
  --gold: #b8945a;
  --gold-soft: #f6efe3;
  --green: #2f7a5f;
  --font: "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }

.container { width: min(1160px, 100% - 48px); margin: 0 auto; }

h1, h2, h3 { color: var(--navy); line-height: 1.3; }
h1 { font-size: clamp(40px, 5.5vw, 64px); font-weight: 900; }
h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; }

.eyebrow { font-size: 15px; font-weight: 700; color: var(--gold); letter-spacing: .08em; margin-bottom: 14px; }
.lead { font-size: 20px; color: var(--soft); margin-top: 20px; }
.muted { font-size: 14px; color: var(--muted); }

.btn {
  display: inline-block; padding: 15px 30px; border-radius: 8px;
  background: var(--navy); color: #fff; font-weight: 500; font-size: 17px;
  border: 1.5px solid var(--navy); transition: background .2s;
}
.btn:hover { background: var(--navy-2); }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--gray); }
.btn--small { padding: 9px 20px; font-size: 15px; }
.btn--gold { background: var(--gold); border-color: var(--gold); }
.btn--gold:hover { background: #a6834c; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .95); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-color: var(--line); }
.nav__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.nav__links { display: flex; gap: 36px; font-size: 16px; color: var(--soft); }
.nav__links a:hover { color: var(--navy); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang {
  min-width: 56px; padding: 8px 12px; border-radius: 8px; border: 1.5px solid var(--line);
  background: #fff; color: var(--navy); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.lang:hover { border-color: var(--navy); background: var(--gray); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 21px; color: var(--navy); }
.logo__mark { width: 40px; height: 40px; display: block; margin-right: -4px; }

/* Hero */
.hero {
  min-height: min(calc(100vh - 76px), 860px); padding: 16px 0; display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(19, 35, 63, .94) 0%, rgba(19, 35, 63, .82) 36%, rgba(19, 35, 63, .15) 64%, rgba(19, 35, 63, 0) 100%),
    url("assets/hero-agent.jpg") center right / cover no-repeat;
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 600px); gap: 24px; }
.hero h1 { color: #fff; font-size: clamp(38px, 4.4vw, 54px); }
.hero .lead { color: #d5dbe5; margin-top: 12px; font-size: 19px; }
.hero .eyebrow { color: #d9b77e; margin-bottom: 10px; }
.hero .actions { margin-top: 24px; }
.hero .btn { background: var(--gold); border-color: var(--gold); }
.hero .btn:hover { background: #a6834c; }
.hero .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero .btn--outline:hover { background: rgba(255, 255, 255, .1); }
.hero .demo { padding: 18px; gap: 10px; }
.hero .bubble { padding: 11px 16px; }
.actions { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }

.demo {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 24px 48px -24px rgba(19, 35, 63, .25);
}
.demo__tabs { display: flex; gap: 4px; padding: 4px; background: var(--gray); border-radius: 10px; }
.demo__tabs button {
  flex: 1; padding: 8px 4px; border: 0; border-radius: 7px; background: transparent;
  font: inherit; font-size: 15px; color: var(--soft); cursor: pointer; transition: background .2s, color .2s;
}
.demo__tabs button.is-active { background: #fff; color: var(--navy); font-weight: 700; box-shadow: 0 1px 3px rgba(19, 35, 63, .12); }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px;
  opacity: 0; visibility: hidden; transform: translateX(16px);
  transition: opacity .45s ease, transform .45s ease, visibility .45s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.demo__progress { height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.demo__progress i { display: block; height: 100%; width: 0; background: var(--gold); }

.slide.is-active .a { animation: rise .5s ease both; animation-delay: var(--d, .1s); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.bubble { padding: 11px 16px; border-radius: 12px; font-size: 16px; }
.bubble--me { align-self: flex-end; max-width: 88%; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }

.result-head { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--soft); }
.result-head b { color: var(--navy); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 0 rgba(47, 122, 95, .5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(47, 122, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 122, 95, 0); } }

.listing {
  display: flex; align-items: center; gap: 14px; padding: 10px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  box-shadow: 0 8px 20px -12px rgba(19, 35, 63, .3);
}
.listing img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.listing__info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.listing__info small { font-size: 14px; color: var(--soft); }
.listing .price { font-size: 22px; color: var(--green); padding-right: 6px; }
.badge { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #e3f2ea; color: var(--green); }

.post { display: flex; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.post img { width: 110px; height: 84px; object-fit: cover; border-radius: 8px; flex: none; }
.post p { font-size: 14px; color: var(--soft); line-height: 1.5; margin: 1px 0; }
.post b { line-height: 1.4; }
.post small { font-size: 13px; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 14px; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: #8a6a37; }
.chips:not(.chips--profile) span::before { content: "✓ "; font-weight: 700; }
.chips--profile { margin-top: 8px; }
.chips--profile span { background: #fff; color: var(--navy); border: 1px solid var(--line); }

.wechat { display: flex; align-items: flex-start; gap: 10px; }
.wechat p { background: #95ec69; color: #111; padding: 9px 14px; border-radius: 4px 12px 12px 12px; font-size: 15px; }
.avatar-sm { width: 32px; height: 32px; border-radius: 6px; flex: none; display: grid; place-items: center; background: #d9b77e; color: #fff; font-weight: 700; font-size: 14px; }
.profile { padding: 12px 14px; border-radius: 12px; background: var(--gray); }
.reminder { font-size: 15px; padding: 8px 14px; border-left: 3px solid var(--green); background: #eef6f2; border-radius: 4px; }

.compare { position: relative; height: 172px; border-radius: 12px; overflow: hidden; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 0 0 0); }
.compare__tag {
  position: absolute; top: 10px; right: 10px; padding: 2px 10px; border-radius: 999px;
  font-size: 13px; background: rgba(19, 35, 63, .75); color: #fff;
}
.compare__tag--after { right: auto; left: 10px; background: var(--gold); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .35); opacity: 0; }
.slide.is-active .compare__before { animation: wipe 4.2s ease-in-out .8s both; }
.slide.is-active .compare__handle { animation: handle 4.2s ease-in-out .8s both; }
.slide.is-active .compare__tag--after { animation: tag-in 4.2s ease-in-out .8s both; }
@keyframes tag-in { 0%, 25% { opacity: 0; } 35%, 100% { opacity: 1; } }
@keyframes wipe { 0%, 10% { clip-path: inset(0 0 0 0); } 60%, 100% { clip-path: inset(0 0 0 100%); } }
@keyframes handle { 0% { left: 0; opacity: 0; } 10% { left: 0; opacity: 1; } 60% { left: 100%; opacity: 1; } 65%, 100% { left: 100%; opacity: 0; } }

/* Stat */
.stat { background: var(--navy); color: #fff; padding: 72px 0; }
.stat__inner { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
.stat__num { font-size: clamp(72px, 9vw, 112px); font-weight: 900; color: var(--gold); line-height: 1; }
.stat__num span { display: block; font-size: 18px; font-weight: 500; color: #c9d1de; margin-top: 12px; }
.stat h2 { color: #fff; }
.stat .lead { color: #c9d1de; }

/* Sections */
.section { padding: 104px 0; }
.section--gray { background: var(--gray); }
.section__title { margin-bottom: 56px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value {
  overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff;
  transition: transform .3s, box-shadow .3s;
}
.value:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(19, 35, 63, .35); }
.value__img { aspect-ratio: 4 / 3; overflow: hidden; }
.value__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.value:hover .value__img img { transform: scale(1.04); }
.value__body { padding: 28px 28px 32px; border-top: 4px solid var(--gold); }
.value__num { font-size: 15px; font-weight: 700; color: var(--gold); }
.value h3 { margin: 8px 0 10px; }
.value p { color: var(--soft); }

.journey { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.journey::before {
  content: ""; position: absolute; top: 32px; left: 10%; right: 10%;
  border-top: 2px dashed #d9c7a6;
}
.journey li { position: relative; text-align: center; padding: 0 6px; }
.journey__icon {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px;
  border-radius: 50%; background: #fff; border: 2px solid var(--gold);
  box-shadow: 0 10px 24px -12px rgba(19, 35, 63, .35); transition: background .3s;
}
.journey__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.journey li:hover .journey__icon { background: var(--navy); }
.journey li:hover .journey__icon svg { stroke: #fff; }
.journey span { font-size: 14px; color: var(--gold); font-weight: 700; }
.journey h3 { margin: 4px 0 8px; }
.journey p { font-size: 16px; color: var(--soft); }

.broker { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.broker .section__title { margin-bottom: 24px; }
.broker__photo { position: relative; }
.broker__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 78% center; border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(19, 35, 63, .5); }
.broker__badge {
  position: absolute; right: -24px; bottom: 32px; padding: 16px 20px; border-radius: 12px;
  background: #fff; box-shadow: 0 20px 40px -20px rgba(19, 35, 63, .45);
  font-size: 15px; color: var(--soft); border-left: 4px solid var(--gold);
}
.broker__badge b { display: block; font-size: 20px; color: var(--navy); }
blockquote { font-size: 20px; color: var(--navy); padding: 18px 22px; background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 4px; margin-bottom: 24px; }
.broker__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.side { padding: 24px; border: 1px solid var(--line); border-radius: 12px; }
.side h3 { margin-bottom: 10px; font-size: 20px; }
.side li { padding: 10px 0 10px 30px; border-top: 1px solid var(--line); position: relative; color: var(--soft); font-size: 16px; }
.side li::before {
  content: "✓"; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--gold-soft); color: #8a6a37;
}

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px;
  transition: border-color .2s, transform .3s, box-shadow .3s;
}
.person:hover { border-color: var(--navy); transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(19, 35, 63, .35); }
.person__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; font-size: 20px; font-weight: 700;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold);
}
.li { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; background: var(--gray); color: var(--navy); font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.person:hover .li { background: #0a66c2; color: #fff; }
.person .role { color: var(--gold); font-size: 16px; margin: 4px 0 8px; }
.person p { color: var(--soft); font-size: 16px; }
.orgs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 16px; }
.orgs span { font-size: 13px; padding: 2px 10px; border-radius: 6px; background: var(--gray); color: var(--navy); font-weight: 500; }

.day { margin-top: 56px; padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, .12); }
.day__row { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 20px; margin-bottom: 14px; }
.day__label { font-size: 16px; color: #c9d1de; }
.day__track { display: flex; gap: 4px; height: 48px; }
.day__track i, .day__legend i {
  font-style: normal; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 14px; white-space: nowrap; overflow: hidden; padding: 0 6px;
}
.t-core { background: var(--gold); color: var(--navy); font-weight: 700; }
.t-chore { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .1) 0 8px, rgba(255, 255, 255, .05) 8px 16px); color: #aab4c4; border: 1px solid rgba(255, 255, 255, .12); }
.t-ai { background: #5fb896; }
.t-new { border: 1.5px dashed #5fb896; color: #9fd8bd; font-weight: 700; background: rgba(95, 184, 150, .1); }
.day__axis { display: flex; justify-content: space-between; margin-left: 150px; font-size: 13px; color: #8a96aa; }
.day__legend { display: flex; gap: 24px; margin: 16px 0 0 150px; font-size: 14px; color: #c9d1de; }
.day__legend span { display: flex; align-items: center; gap: 8px; }
.day__legend i { width: 14px; height: 14px; padding: 0; border-radius: 4px; }
.day.is-visible .day__track i { animation: grow .8s ease both; transform-origin: left; }
.day.is-visible .day__row + .day__row .day__track i { animation-delay: .3s; }
@keyframes grow { from { transform: scaleX(0); opacity: 0; } }

.cta {
  color: #fff; padding: 120px 0;
  background:
    linear-gradient(90deg, rgba(19, 35, 63, .95) 0%, rgba(19, 35, 63, .75) 55%, rgba(19, 35, 63, .55) 100%),
    url("assets/vancouver-dusk.jpg") center 60% / cover no-repeat;
}
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta h2 { color: #fff; }
.cta__copy p:last-child { color: #c9d1de; margin-top: 12px; }

.signup__row { display: flex; gap: 12px; }
.signup input {
  flex: 1; min-width: 0; padding: 15px 18px; border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08);
  color: #fff; font: inherit; font-size: 17px; outline: none; transition: border-color .2s;
}
.signup input::placeholder { color: #9aa5b8; }
.signup input:focus { border-color: var(--gold); }
.signup input[aria-invalid="true"] { border-color: #e58a7e; }
.signup button { cursor: pointer; white-space: nowrap; }
.signup button:disabled { opacity: .6; cursor: default; }
.signup__msg { min-height: 28px; margin-top: 10px; font-size: 16px; }
.signup__msg.is-error { color: #f0a398; }
.signup__msg.is-ok { color: #9fd8bd; }
.signup__note { font-size: 14px; color: #9aa5b8; }
.signup__note a { color: var(--gold); text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.footer { padding: 32px 0; font-size: 15px; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .slide.is-active .a, .live { animation: none; }
  .slide.is-active .compare__before { animation: none; clip-path: inset(0 0 0 50%); }
  .compare__handle { display: none; }
  .day.is-visible .day__track i { animation: none; }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .hero {
    min-height: 0; padding: 72px 0;
    background:
      linear-gradient(180deg, rgba(19, 35, 63, .9) 0%, rgba(19, 35, 63, .7) 100%),
      url("assets/hero-agent.jpg") 75% center / cover no-repeat;
  }
  .hero__inner, .stat__inner, .broker, .values, .people, .cta__inner { grid-template-columns: 1fr; gap: 32px; }
  .journey { grid-template-columns: 1fr; gap: 28px; }
  .journey::before { top: 32px; bottom: 32px; left: 31px; right: auto; border-top: 0; border-left: 2px dashed #d9c7a6; }
  .journey li { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; text-align: left; padding: 0; }
  .journey__icon { grid-row: span 3; margin: 0; }
  .broker__badge { right: 16px; }
  .broker__photo img { aspect-ratio: 16 / 10; }
  .day__row { grid-template-columns: 1fr; gap: 6px; }
  .day__track i { font-size: 11px; }
  .day__axis, .day__legend { margin-left: 0; }
  .day__legend { flex-wrap: wrap; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .broker__cols { grid-template-columns: 1fr; }
  .signup__row { flex-direction: column; }
  .nav__actions { gap: 8px; }
  .nav__actions .btn--small { padding: 8px 14px; white-space: nowrap; }
  .lang { min-width: 0; padding: 7px 10px; }
}
