:root {
  color-scheme: light;
  --ink: #17181c;
  --muted: #555962;
  --accent: #ad351a;
  --accent-hover: #8e2a13;
  --graphite: #121316;
  --cloud: #f5f5f7;
  --rule: #dddfe3;
  --white: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body, h1, h2, h3, p, ul, ol { margin: 0; }
p { line-height: 1.75; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { color: #601e11; background: #ffe0d4; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 12px; z-index: 10; padding: 10px; background: #fff; transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 3; background: #fffffff2; border-bottom: 1px solid #17181c12; backdrop-filter: blur(18px); }
.header-inner { min-height: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 21px; font-weight: 750; white-space: nowrap; }
.brand img { border-radius: 23%; }
nav { display: flex; gap: clamp(22px, 3vw, 44px); align-items: center; }
nav a { padding-block: 14px; font-size: 14px; color: #374152; white-space: nowrap; }
nav a:hover, .back:hover { color: var(--accent); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 21px; border: 1px solid transparent; border-radius: 24px; font-size: 14px; font-weight: 650; white-space: nowrap; transition: background .18s, border-color .18s, color .18s; }
.button-small { min-height: 36px; color: #fff; background: var(--ink); padding-inline: 16px; }
.button-small:hover { background: #3a3c42; }
.login-dropdown { position: relative; }
.login-dropdown summary { list-style: none; cursor: pointer; }
.login-dropdown summary::-webkit-details-marker { display: none; }
.login-panel { position: absolute; inset: 100% 0 auto auto; min-width: 146px; padding: 5px; border: 1px solid var(--rule); border-radius: 12px; background: var(--white); }
.login-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: 8px; font-size: 14px; white-space: nowrap; }
.login-panel a:hover, .login-panel a:focus-visible { color: var(--accent); background: #f7eee9; }
.login-panel a:focus-visible { outline-offset: -2px; }
.primary { color: white; background: var(--accent); }
.primary:hover { background: var(--accent-hover); }
.menu { display: none; }

.hero { background: var(--graphite); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero-inner { min-height: clamp(625px, 52vw, 820px); position: relative; }
.hero-copy { position: relative; z-index: 1; padding-top: clamp(58px, 5.4vw, 92px); text-align: center; }
h1 { font-size: clamp(54px, 6.2vw, 96px); line-height: 1.08; letter-spacing: -.04em; font-weight: 760; text-wrap: balance; }
.hero-copy p { margin: 17px auto 0; font-size: clamp(16px, 1.8vw, 23px); color: #d4d0cd; }
.hero-copy .button { margin-top: 21px; color: #231612; background: #fcf5f1; }
.hero-copy .button:hover { background: #ffdfd1; }
.hero-copy .button:focus-visible { outline-color: #ffc2a9; }
.hero-visual { position: absolute; inset: 0; background: url("hero-graphite.webp") center 46% / min(100%, 1550px) auto no-repeat; mask-image: linear-gradient(to bottom, transparent 5%, #000 32%, #000 92%, transparent); }

.network-strip { border-bottom: 1px solid #e8ecf1; }
.network-inner ul { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; min-height: 80px; gap: 16px; padding: 0; list-style: none; }
.network-inner li { display: flex; align-items: center; justify-content: center; gap: 9px; font-weight: 650; font-size: 15px; white-space: nowrap; }
.network-inner img { flex: none; width: 32px; height: 32px; }

.section { padding-block: clamp(72px, 8vw, 120px); }
.section-heading { margin-bottom: 28px; }
h2 { font-size: clamp(33px, 4vw, 58px); font-weight: 760; line-height: 1.16; letter-spacing: -.034em; text-wrap: balance; }
.feature-tabs, .guide-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.feature-tabs { margin-bottom: 20px; }
.feature-tabs button, .guide-tabs button { border: 0; border-radius: 28px; min-height: 44px; padding-inline: 18px; background: #f1f1f3; font-size: 14px; font-weight: 650; }
.feature-tabs button:hover, .guide-tabs button:hover { background: #e8e8ec; }
.feature-tabs button[aria-selected="true"], .guide-tabs button[aria-selected="true"] { color: #fff; background: var(--ink); }
.feature-panel { min-height: 505px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); align-items: center; gap: clamp(22px, 3vw, 44px); overflow: hidden; border-radius: 18px; padding: clamp(27px, 5vw, 72px); }
.feature-panel + .feature-panel { margin-top: 14px; }
.feature-tabs:not([hidden]) ~ .feature-panel { margin-top: 0; }
.feature-panel[role="tabpanel"]:not([hidden]) > * { animation: exhibit-in .28s cubic-bezier(.2,.65,.3,1) both; }
@keyframes exhibit-in { from { opacity: .68; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.feature-copy h3 { font-size: clamp(29px, 4.1vw, 58px); letter-spacing: -.032em; line-height: 1.15; }
.feature-copy p { margin-top: 15px; font-size: clamp(15px,1.5vw,18px); max-width: 25ch; color: var(--muted); }
.catalogs { background: radial-gradient(ellipse at 75% 68%,#ffd8c6,#f7efe9 68%); }
.tracking { background: #1f2836; color: #fff; }
.tracking .feature-copy p { color: #d3dceb; }
.tracking:focus-visible { outline-color: #3f70ba; }
.earnings { background: #edf0f6; }
.product-preview { margin: 0 auto; width: min(100%, 325px); }
.screen-crop { max-height: 335px; overflow: hidden; border: 6px solid #28282b; border-radius: 22px; background: #fff; box-shadow: 9px 20px 46px #78443429; }
.screen-crop img { width: 100%; height: auto; }
figcaption { color: #5e4c44; font-size: 12px; line-height: 1.45; text-align: center; margin-top: 12px; }
.tools-preview { width: min(100%, 405px); margin: 0 auto; }
.tools-preview img { width: 100%; height: auto; border-radius: 15px; box-shadow: 0 16px 32px #3d537419; }
.tracking-flow { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; margin: auto 0; padding: 32px 0; list-style: none; }
.tracking-flow::before { content: ""; position: absolute; inset-inline: 16.6667%; top: 38px; height: 1px; background: #7591bb; }
.tracking-flow li { display: grid; justify-items: center; gap: 12px; position: relative; color: #e1ecff; font-size: 14px; }
.tracking-flow li::before { content: ""; width: 13px; height: 13px; border: 2px solid #c3d9fc; border-radius: 50%; background: #23395e; }
.guide { background: #edf2f8; }
.guide-inner { display: grid; grid-template-columns: .86fr 1.14fr; min-height: 435px; }
.guide-visual { min-height: 330px; position: relative; isolation: isolate; padding-top: clamp(38px,5.3vw,76px); }
.guide-visual::before { content: ""; position: absolute; inset: auto 0 0; aspect-ratio: 3 / 2; z-index: -1; background: url("hero-sim.webp") center / cover no-repeat; mask-image: linear-gradient(#0000, #000 32%), linear-gradient(90deg,#0000,#000 15%,#000 85%,#0000); mask-composite: intersect; }
.guide-visual h2 { position: relative; z-index: 1; text-align: center; }
.guide-content { align-self: center; padding: 46px clamp(16px, 4vw, 54px); }
.guide-tabs button { background: #fff; }
.guide-tabs { margin: 0 0 15px; }
.guide-panel { padding-block: 6px; }
.guide-tabs[hidden] ~ .guide-panel + .guide-panel { margin-top: 10px; }
.guide-panel h3 { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; }
.guide-panel dl { margin: 13px 0 0; }
.guide-panel[role="tabpanel"] h3 { display: none; }
.guide-panel[role="tabpanel"] dl { margin-top: 0; }
.guide-panel dl > div { display: grid; grid-template-columns: 2.6em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #cdd7e3; font-size: 15px; line-height: 1.65; }
.guide-panel dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.guide-panel dt { font-weight: 700; }
.guide-panel dd { margin: 0; color: #414d60; }
.faq { background: var(--cloud); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.steps li { padding: 22px 18px 0 0; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--rule); }
.steps span { color: var(--accent); font-size: clamp(23px, 3vw, 39px); font-weight: 700; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 21px; margin-top: 13px; }
.steps p { color: var(--muted); font-size: 14px; margin-top: 6px; }

.home-news { background: #f7eee9; }
.home-news-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 26px 14px; }
.home-news-articles { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 12px; padding: 0; list-style: none; }
.home-news-articles li { min-width: 0; }
.home-news-articles a { display: block; height: 100%; padding: 21px clamp(19px, 2.3vw, 30px); border-radius: 14px; background: #fff; }
.home-news-topic { color: var(--accent); font-size: 13px; font-weight: 650; }
.home-news-articles h3 { margin-top: 7px; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.35; text-wrap: balance; }
.home-news-articles p { max-width: 55ch; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.home-news-articles a:hover h3 { text-decoration: underline; text-underline-offset: .16em; }
.home-news-featured { grid-row: span 2; }
.home-news-featured a { display: flex; flex-direction: column; align-items: flex-start; position: relative; isolation: isolate; min-height: 292px; overflow: hidden; color: #fff; background: var(--graphite); padding-bottom: clamp(110px, 11vw, 150px); }
.home-news-featured a::before { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 150px; background: url("hero-graphite.webp") center 79% / cover no-repeat; mask-image: linear-gradient(transparent, #000 40%); }
.home-news-featured .home-news-topic { color: #ffbfaa; }
.home-news-featured h3 { font-size: clamp(23px, 2.7vw, 36px); }
.home-news-featured p { color: #e2d5ce; }
.home-news-featured a:focus-visible { outline-color: var(--accent); }

.faq-inner { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(35px, 8vw, 106px); align-items: start; }
.footer-links a:hover, .back:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.questions { border-top: 1px solid var(--rule); }
.questions details { border-bottom: 1px solid var(--rule); }
.questions summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; font-size: 15px; font-weight: 650; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ""; flex: 0 0 18px; height: 18px; background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat; }
.questions details[open] summary::after { background-size: 12px 2px, 0 0; }
.questions p { padding-bottom: 17px; color: var(--muted); font-size: 14px; }

.closing { padding-block: 58px; }
.app-section { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 23px; padding: 30px clamp(20px, 4vw, 54px); background: #f7eee9; border-radius: 16px; }
.app-section img { border-radius: 23%; }
.app-section h2 { font-size: clamp(27px, 3vw, 40px); }
.app-downloads { display: flex; flex-wrap: wrap; gap: 8px; }
.android-download { color: var(--accent); border-color: var(--accent); }
.android-download:hover { background: #ffe1d5; }
.app-provider { margin-top: 10px; text-align: center; color: var(--muted); font-size: 12px; }
footer { background: var(--cloud); border-top: 1px solid var(--rule); }
.icp-footer { padding: 14px 0 16px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; text-align: center; }
.icp-footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.footer-content { display: grid; grid-template-columns: 1fr auto auto; align-items: start; gap: 32px; padding-block: 32px; }
.footer-content p { max-width: 36ch; margin-top: 10px; color: var(--muted); font-size: 13px; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 0 24px; }
.footer-links a { display: block; width: fit-content; padding-block: 5px; color: var(--muted); font-size: 13px; }
.back { justify-self: end; padding-block: 5px; color: var(--accent); font-size: 13px; }

@media (max-width: 980px) {
  .wrap { width: calc(100% - 52px); }
  .section { padding-block: 67px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { display: flex; justify-content: space-between; min-height: 58px; }
  .header-actions { gap: 8px; }
  .menu { display: grid; justify-content: center; align-content: center; gap: 5px; width: 40px; height: 42px; background: transparent; border: 0; border-radius: 8px; }
  .menu span { display: block; width: 16px; height: 1.5px; background: var(--ink); }
  nav { display: none; position: absolute; inset: 100% 0 auto; padding: 6px 18px 14px; gap: 0; background: var(--white); border-bottom: 1px solid var(--rule); }
  nav.open { display: grid; }
  nav a { padding: 13px 0; }
  nav a + a { border-top: 1px solid #edf0f4; }
  .hero-inner { min-height: clamp(480px, 102vw, 620px); }
  .hero-copy { padding-top: 50px; }
  h1 { max-width: 10em; margin-inline: auto; font-size: clamp(42px, 8.6vw, 62px); line-height: 1.12; }
  .hero-copy p { margin-top: 14px; font-size: 15px; }
  .hero-copy .button { margin-top: 20px; }
  .hero-visual { inset: 185px 0 0; background-size: max(145%, 560px) auto; background-position: center 76%; mask-image: linear-gradient(to bottom, transparent, #000 37%, #000 91%, transparent); }
  .network-inner ul { grid-template-columns: repeat(2, 1fr); padding-block: 16px; gap: 11px 16px; }
  .network-inner li { justify-content: flex-start; font-size: 14px; gap: 8px; }
  .network-inner img { width: 28px; height: 28px; }
  .section { padding-block: 48px; }
  .section-heading { margin-bottom: 25px; }
  .home-news-inner { gap: 17px 8px; }
  .home-news-inner > .button { padding-inline: 12px; font-size: 13px; }
  .home-news-articles { grid-template-columns: 1fr; gap: 10px; }
  .home-news-featured { grid-row: auto; }
  .home-news-featured a { min-height: 250px; }
  .feature-panel { min-height: 0; grid-template-columns: 1fr; border-radius: 14px; }
  .feature-copy h3 br { display: none; }
  .feature-copy p { margin-top: 9px; max-width: 34ch; }
  .screen-crop { max-height: 260px; }
  .feature-tabs button, .guide-tabs button { padding-inline: 10px; font-size: 13px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li, .steps li + li { padding: 14px 10px 15px 0; border: 0; }
  .steps li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--rule); }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .steps h3 { font-size: 18px; margin-top: 8px; }
  .faq-inner { grid-template-columns: 1fr; gap: 22px; }
  .guide-inner { grid-template-columns: 1fr; }
  .guide-visual { min-height: clamp(245px, 62vw, 360px); padding-top: 35px; }
  .guide-content { padding: 17px 0 34px; }
  .closing { padding-block: 36px; }
  .app-section { grid-template-columns: auto 1fr; gap: 13px; padding-block: 24px; }
  .app-section img { width: 54px; height: 54px; }
  .app-downloads { grid-column: 1 / -1; }
  .app-downloads .button { padding-inline: 13px; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 21px; padding-block: 28px; }
  .footer-content > div:first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending:not(:focus-within) {
    opacity: 0;
    transform: translateY(16px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .feature-panel[role="tabpanel"]:not([hidden]) > * { animation: none; }
}


/* === WB: 代理招募首屏强化 20261201 === */
.hero-agent .hero-copy { padding-top: clamp(30px, 3.6vw, 58px); padding-bottom: clamp(28px, 3vw, 46px); }
.hero-agent .hero-inner { min-height: auto; }
.wb-eyebrow { display: inline-block; padding: 6px 15px; border: 1px solid #ffffff40; border-radius: 999px; color: #ffd2bf; font-size: 13px; font-weight: 650; letter-spacing: .1em; }
.hero-agent h1 { margin-top: 14px; font-size: clamp(38px, 5.2vw, 70px); line-height: 1.14; }
.hero-agent h1 span { display: block; margin-top: 8px; font-size: clamp(24px, 3vw, 42px); font-weight: 650; letter-spacing: 0; color: #f1e6e1; }
.hero-agent h1 em { font-style: normal; color: #ff7043; letter-spacing: .04em; }
.wb-hero-code { position: relative; z-index: 2; width: min(580px, 100%); margin: clamp(20px, 3vw, 34px) auto 0; padding: 20px 24px 26px; border: 1px solid #ffffff30; border-radius: 22px; background: linear-gradient(150deg, #ffffff1a, #ffffff08); box-shadow: 0 24px 70px #0007; }
.wb-code-label { display: block; color: #ffc9b2; font-size: 14px; font-weight: 650; letter-spacing: .16em; }
.wb-code-num { display: block; margin-top: 2px; font-size: clamp(92px, 16vw, 188px); line-height: 1.02; font-weight: 800; letter-spacing: .06em; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 8px 34px #ff704366; }
.wb-code-tip { display: block; margin-top: 2px; color: #e6dcd8; font-size: 14px; }
.wb-code-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.wb-code-actions .button { min-height: 48px; padding-inline: 24px; }
.wb-btn-register, .wb-agent-cta .button { color: #2a140e; background: #ff7043; }
.wb-btn-register:hover, .wb-agent-cta .button:hover { background: #ff8962; }
.wb-btn-copy { color: #fff; border-color: #ffffff5c; background: #ffffff17; }
.wb-btn-copy:hover { background: #ffffff2b; }
.hero-sub { margin-top: 15px; color: #d4d0cd; font-size: clamp(14px, 1.4vw, 17px); }
.wb-header-code { color: var(--accent); font-size: 13px; font-weight: 700; white-space: nowrap; padding: 8px 12px; border: 1px solid #e8c7ba; border-radius: 999px; background: #fff6f2; }
.wb-header-code b { font-size: 16px; letter-spacing: .04em; }
.wb-header-code:hover { background: #ffe9df; }
.wb-agent { background: #fff8f5; border-top: 1px solid #f1ded5; }
.wb-agent-inner { text-align: center; }
.wb-agent-inner .section-heading p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.wb-agent-inner .section-heading b { color: var(--accent); }
.wb-agent-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin-top: 34px; text-align: left; }
.wb-agent-steps li { padding: 24px; border: 1px solid #f0ded6; border-radius: 16px; background: #fff; }
.wb-agent-steps span { color: var(--accent); font-size: 30px; font-weight: 750; font-variant-numeric: tabular-nums; }
.wb-agent-steps h3 { margin-top: 10px; font-size: 19px; }
.wb-agent-steps p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.wb-agent-steps b { color: var(--accent); }
.wb-agent-cta { margin-top: 28px; }
@media (max-width: 860px) {
  .wb-agent-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hero-agent h1 { font-size: clamp(36px, 9vw, 52px); }
  .hero-agent h1 span { font-size: clamp(21px, 5.4vw, 30px); }
  .hero-agent .hero-visual { inset: 210px 0 0; background-size: max(150%, 560px) auto; }
  .wb-hero-code { padding: 16px 16px 22px; }
  .wb-code-num { font-size: clamp(72px, 19vw, 120px); letter-spacing: .02em; }
  .wb-hero-code { width: 100%; }
  .wb-code-actions .button { flex: 1 1 150px; padding-inline: 10px; font-size: 13px; }
  .wb-header-code { display: none; }
  .wb-agent-steps { grid-template-columns: 1fr; }
}
