:root {
  --ink: #111827;
  --muted: #657084;
  --line: #e7ebf2;
  --soft: #f5f7fa;
  --blue: #2a69eb;
  --blue-dark: #1d50c2;
  --green: #16a875;
  --red: #e84e60;
  --orange: #f39d33;
  --white: #fff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  border-bottom: 1px solid rgba(231, 235, 242, .86);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 850; letter-spacing: 0; }
.brand-logo { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.brand-name { color: var(--ink); font-size: 20px; font-weight: 850; }
.phone-logo .brand-logo { width: 20px; height: 20px; border-radius: 5px; }
.phone-logo .brand-name { font-size: 11px; }
.site-footer .brand-name { color: #fff; }
.brand-mark { position: relative; width: 27px; height: 27px; border: 6px solid var(--blue); }
.brand-mark::after { content: ""; position: absolute; width: 8px; height: 8px; right: -6px; bottom: -6px; background: #8dd5ff; }
.nav-links { display: flex; align-items: center; gap: 30px; color: #4c5669; font-size: 14px; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-action, .button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.nav-action:hover, .button:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button.secondary { border-color: #cfd6e2; background: #fff; color: var(--ink); }
.button.secondary:hover { border-color: var(--blue); color: var(--blue); }
.menu-button { display: none; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.menu-button svg { width: 24px; height: 24px; }

.hero {
  min-height: 700px;
  padding: 74px 0 56px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(42, 105, 235, .055) 1px, transparent 1px),
    linear-gradient(rgba(42, 105, 235, .055) 1px, transparent 1px),
    #f8fbff;
  background-size: 48px 48px;
}
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 78px; }
.eyebrow { margin: 0 0 17px; color: var(--blue); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px; margin: 0 10px 4px 0; background: var(--blue); }
h1 { max-width: 680px; margin: 0; font-size: clamp(42px, 5.2vw, 72px); line-height: 1.08; letter-spacing: 0; }
.hero-copy > p { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { display: flex; gap: 22px; margin-top: 31px; color: #596478; font-size: 13px; font-weight: 650; }
.hero-note span { display: flex; align-items: center; gap: 7px; }
.hero-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.product-scene { position: relative; min-height: 556px; }
.phone {
  position: absolute;
  right: 42px;
  top: 0;
  width: 315px;
  height: 620px;
  padding: 13px;
  border: 7px solid #111827;
  border-radius: 39px;
  background: #111827;
  box-shadow: 0 38px 80px rgba(33, 48, 76, .22);
  transform: rotate(2deg);
}
.phone-screen { height: 100%; overflow: hidden; border-radius: 25px; background: #fff; }
.phone-status { display: flex; justify-content: space-between; padding: 13px 15px 4px; font-size: 9px; font-weight: 800; }
.phone-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 15px; }
.phone-logo { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 850; }
.phone-logo .brand-mark { width: 17px; height: 17px; border-width: 4px; }
.phone-logo .brand-mark::after { width: 5px; height: 5px; right: -4px; bottom: -4px; }
.phone-icon { color: #586376; font-size: 15px; }
.phone-banner { margin: 4px 13px 14px; padding: 16px; min-height: 105px; border-radius: 8px; color: #fff; background: #2564e5; }
.phone-banner small { opacity: .75; font-size: 8px; }
.phone-banner strong { display: block; max-width: 170px; margin-top: 6px; font-size: 17px; line-height: 1.25; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; padding: 0 13px 14px; text-align: center; font-size: 7px; color: #586376; }
.quick-icon { display: grid; width: 34px; height: 34px; margin: 0 auto 5px; place-items: center; border-radius: 8px; background: #eef4ff; color: var(--blue); font-size: 13px; font-weight: 800; }
.phone-section { padding: 0 13px; }
.phone-title { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 10px; font-weight: 800; }
.phone-title span { color: var(--blue); font-size: 7px; }
.quote-row { display: grid; grid-template-columns: 1.1fr .9fr .65fr; align-items: center; min-height: 44px; border-bottom: 1px solid #eef0f5; font-size: 9px; }
.coin { display: flex; align-items: center; gap: 7px; font-weight: 800; }
.coin i { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: white; background: var(--orange); font-style: normal; }
.coin small { color: #8a93a4; font-size: 6px; font-weight: 600; }
.price { text-align: right; font-weight: 750; }
.change { justify-self: end; width: 50px; padding: 4px 0; border-radius: 4px; color: #fff; text-align: center; background: var(--green); }
.change.down { background: var(--red); }
.phone-tabs { position: absolute; right: 20px; bottom: 15px; left: 20px; display: flex; justify-content: space-around; padding: 9px 0 5px; border-top: 1px solid #eef0f5; background: #fff; color: #8b93a2; font-size: 7px; }
.phone-tabs b { color: var(--blue); }
.scene-card { position: absolute; z-index: 2; width: 190px; padding: 17px; border: 1px solid #e1e6ef; border-radius: 7px; background: rgba(255,255,255,.96); box-shadow: 0 20px 44px rgba(25, 43, 72, .12); }
.scene-card.market { left: 0; top: 113px; }
.scene-card.alert { right: 0; bottom: 32px; }
.scene-label { color: var(--muted); font-size: 10px; font-weight: 700; }
.scene-value { display: flex; align-items: end; justify-content: space-between; margin-top: 6px; font-size: 21px; font-weight: 850; }
.scene-value small { color: var(--green); font-size: 10px; }
.spark { display: flex; align-items: end; gap: 3px; height: 34px; margin-top: 10px; }
.spark i { flex: 1; height: var(--h); background: #81a9ff; }
.alert-line { display: flex; align-items: center; gap: 10px; margin-top: 11px; font-size: 11px; font-weight: 750; }
.alert-dot { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #fff2dd; color: var(--orange); }

.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-items { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 25px 28px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; font-size: 14px; }
.trust-item span { color: var(--muted); font-size: 12px; }

.market-board { padding: 72px 0 78px; border-bottom: 1px solid var(--line); background: #fff; }
.market-board-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 27px; }
.market-board-head h2 { margin: 0; font-size: 32px; line-height: 1.2; }
.market-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.market-status time { padding-left: 8px; border-left: 1px solid var(--line); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(243,157,51,.12); }
.market-status.live .status-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(22,168,117,.12); }
.market-table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
.market-table { width: 100%; min-width: 820px; border-collapse: collapse; }
.market-table th { padding: 14px 12px; color: #7c8798; font-size: 10px; font-weight: 750; text-align: right; text-transform: uppercase; }
.market-table th:first-child, .market-table td:first-child { padding-left: 0; text-align: left; }
.market-table td { padding: 16px 12px; border-top: 1px solid var(--line); color: #374155; font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; }
.market-table tbody tr:hover { background: #fafbfc; }
.market-asset { display: flex; align-items: center; gap: 12px; }
.market-asset strong { color: var(--ink); font-size: 13px; }
.market-asset small { display: block; margin-top: 1px; color: #8b95a5; font-size: 9px; font-weight: 650; }
.asset-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 850; }
.asset-icon.btc { background: #f7931a; }.asset-icon.eth { background: #627eea; }.asset-icon.bnb { background: #f3ba2f; color: #202632; }
.asset-icon.sol { background: #171d2a; color: #59e6c5; }.asset-icon.xrp { background: #23292f; }.asset-icon.doge { background: #c3a634; }
.market-price { color: var(--ink) !important; font-size: 14px !important; font-weight: 800; }
.market-change { display: inline-block; min-width: 68px; padding: 5px 8px; border-radius: 4px; color: var(--green); background: rgba(22,168,117,.09); font-weight: 800; text-align: center; }
.market-change.down { color: var(--red); background: rgba(232,78,96,.09); }
.market-footnote { margin: 15px 0 0; color: #8a94a5; font-size: 11px; }

.section { padding: 104px 0; }
.section.soft { background: var(--soft); }
.section-kicker { margin: 0 0 9px; color: var(--blue); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.section h2 { max-width: 650px; margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.18; letter-spacing: 0; }
.section-intro { max-width: 650px; margin: 17px 0 0; color: var(--muted); font-size: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 54px; }
.feature { padding-top: 22px; border-top: 2px solid var(--ink); }
.feature-number { color: var(--blue); font-size: 12px; font-weight: 850; }
.feature h3 { margin: 20px 0 10px; font-size: 21px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-visual { position: relative; height: 190px; margin-top: 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.chart-grid { position: absolute; inset: 0; background: linear-gradient(#eef1f6 1px, transparent 1px), linear-gradient(90deg, #eef1f6 1px, transparent 1px); background-size: 36px 36px; }
.candles { position: absolute; inset: 28px 18px; display: flex; align-items: end; gap: 8px; }
.candle { position: relative; width: 10px; height: var(--h); background: var(--green); }
.candle.down { background: var(--red); }
.candle::before { content: ""; position: absolute; left: 4px; top: -15px; width: 2px; height: calc(100% + 28px); background: inherit; z-index: -1; }
.news-lines { padding: 25px; }
.news-lines span { display: block; height: 8px; margin-bottom: 14px; background: #e8ecf3; }
.news-lines span:first-child { width: 38%; background: #bdd2ff; }
.news-lines span:nth-child(3) { width: 78%; }
.tool-panel { padding: 18px; }
.tool-panel label { color: var(--muted); font-size: 9px; }
.tool-panel .input { height: 34px; margin: 4px 0 12px; border: 1px solid #dfe4ed; border-radius: 4px; }
.tool-result { padding: 10px; background: #edf8f4; color: var(--green); font-size: 11px; font-weight: 800; }

.boundary { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.boundary-list { border-top: 1px solid #344154; }
.boundary-row { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 19px 0; border-bottom: 1px solid #344154; }
.boundary-row i { color: #7ba4ff; font-style: normal; font-weight: 850; }
.boundary-row strong { display: block; color: #fff; font-size: 15px; }
.boundary-row span { color: #aeb7c5; font-size: 13px; }
.dark { background: #111827; color: #fff; }
.dark .section-intro { color: #aeb7c5; }
.dark .section-kicker { color: #7ba4ff; }

.legal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.legal-card { min-height: 178px; padding: 25px; border: 1px solid var(--line); border-radius: 7px; background: #fff; transition: border .2s, transform .2s; }
.legal-card:hover { border-color: #96b4f5; transform: translateY(-2px); }
.legal-card span { color: var(--blue); font-size: 12px; font-weight: 850; }
.legal-card h3 { margin: 20px 0 6px; font-size: 18px; }
.legal-card p { margin: 0; color: var(--muted); font-size: 13px; }
.legal-card .arrow { float: right; color: var(--ink); font-size: 20px; }

.cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 46px 50px; background: var(--blue); color: #fff; }
.cta h2 { margin: 0; font-size: clamp(27px, 4vw, 42px); line-height: 1.2; }
.cta p { margin: 8px 0 0; opacity: .8; }
.cta .button { background: #fff; color: var(--blue); }
.cta .button:hover { background: #eef4ff; }

.site-footer { padding: 56px 0 26px; background: #0d1320; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; }
.footer-about p { max-width: 340px; margin: 18px 0 0; color: #95a0b2; font-size: 13px; }
.footer-col strong { display: block; margin-bottom: 17px; font-size: 13px; }
.footer-col a { display: block; margin: 9px 0; color: #95a0b2; font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 21px; border-top: 1px solid #283144; color: #778397; font-size: 11px; }

.legal-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); background: #f8fbff; }
.legal-hero h1 { max-width: 780px; font-size: clamp(36px, 5vw, 56px); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 19px; color: var(--muted); font-size: 13px; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 760px); gap: 70px; align-items: start; padding: 64px 0 100px; }
.legal-toc { position: sticky; top: 102px; padding-right: 24px; border-right: 1px solid var(--line); }
.legal-toc strong { display: block; margin-bottom: 13px; font-size: 12px; text-transform: uppercase; }
.legal-toc a { display: block; padding: 6px 0; color: var(--muted); font-size: 13px; }
.legal-toc a:hover { color: var(--blue); }
.legal-content { min-width: 0; }
.legal-content .notice { margin-bottom: 35px; padding: 16px 18px; border-left: 3px solid var(--blue); background: #f0f5ff; color: #42506a; font-size: 13px; }
.legal-content section { scroll-margin-top: 100px; margin-bottom: 42px; }
.legal-content h2 { margin: 0 0 15px; font-size: 24px; }
.legal-content h3 { margin: 24px 0 10px; font-size: 16px; }
.legal-content p, .legal-content li { color: #4f5b6e; font-size: 14px; }
.legal-content ul, .legal-content ol { padding-left: 22px; }
.legal-content li { margin: 7px 0; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { background: var(--soft); }
.contact-box { padding: 22px; border: 1px solid var(--line); background: var(--soft); }
.contact-box strong { display: block; margin-bottom: 8px; }
.contact-box a { color: var(--blue); font-weight: 750; }
.steps { counter-reset: item; margin: 25px 0; }
.step { position: relative; min-height: 70px; padding: 0 0 24px 54px; border-left: 1px solid #cdd7e8; margin-left: 18px; }
.step:last-child { border-left-color: transparent; }
.step::before { counter-increment: item; content: counter(item); position: absolute; left: -18px; top: 0; display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; }
.step strong { display: block; }
.step p { margin: 4px 0 0; }

@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: 72px; right: 0; left: 0; padding: 18px 20px 24px; border-bottom: 1px solid var(--line); background: #fff; flex-direction: column; align-items: stretch; gap: 7px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 9px 0; }
  .nav-links .nav-action { margin-top: 6px; }
  .menu-button { display: grid; place-items: center; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { text-align: center; }
  .hero-copy h1, .hero-copy > p { margin-right: auto; margin-left: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .product-scene { width: min(100%, 600px); margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature:last-child { grid-column: 1 / -1; }
  .boundary { grid-template-columns: 1fr; gap: 48px; }
  .legal-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; gap: 35px; }
  .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0 0 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .legal-toc strong { width: 100%; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header { height: 64px; }
  .nav-links { top: 64px; }
  .hero { padding-top: 50px; }
  h1 { font-size: 41px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-note { flex-direction: column; gap: 6px; align-items: center; }
  .product-scene { min-height: 560px; transform: scale(.88); transform-origin: top center; margin-bottom: -65px; }
  .phone { right: 50%; transform: translateX(50%) rotate(1deg); }
  .scene-card.market { left: -13px; top: 95px; }
  .scene-card.alert { right: -13px; }
  .trust-items { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 18px 13px; border-bottom: 1px solid var(--line); }
  .trust-item:first-child { padding-left: 13px; }
  .trust-item:nth-child(2) { border-right: 0; }
  .market-board { padding: 56px 0 60px; }
  .market-board-head { align-items: start; flex-direction: column; gap: 14px; }
  .market-board-head h2 { font-size: 28px; }
  .market-table-wrap { margin-right: -14px; }
  .section { padding: 74px 0; }
  .feature-grid, .legal-grid { grid-template-columns: 1fr; gap: 24px; }
  .feature:last-child { grid-column: auto; }
  .cta { grid-template-columns: 1fr; padding: 34px 25px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .legal-hero { padding: 50px 0 38px; }
  .legal-layout { padding: 38px 0 70px; }
  .data-table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
