:root {
  color-scheme: dark;
  font-family: "Geist", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #0d1014;
  color: #f2f6f3;
  --surface: #141a20;
  --line: #283438;
  --muted: #a4b2b2;
  --mint: #b8ead0;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: wait; opacity: .62; }
h1, h2, p, figure, dl, dd { margin: 0; }
.shell { width: min(1280px, 100% - 96px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 2; background: var(--surface); padding: 10px 14px; border-radius: 8px; }
.masthead { background: #101419; border-bottom: 1px solid #243034; }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 72px; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand img { display: block; }
.product-nav, .nav-actions, .foot nav { display: flex; align-items: center; gap: clamp(16px, 2.25vw, 32px); font-size: .9rem; }
.product-nav, .foot nav, .language { color: var(--muted); }
.nav-actions { justify-content: flex-end; gap: 20px; white-space: nowrap; }
.product-nav a:hover, .language:hover, .sign-in:hover, .foot nav a:hover { color: var(--mint); }
.language { font-size: .85rem; font-weight: 650; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 0 20px; border: 1px solid transparent; border-radius: 8px; font-size: .94rem; font-weight: 600; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.button span { font-size: 1rem; font-weight: 500; }
.button.nav-cta { min-height: 37px; padding-inline: 13px; color: var(--mint); border-color: #3b514a; }
.button.nav-cta:hover, .button.secondary:hover { background: #1a2a27; border-color: #789e8c; }
.button.primary { background: var(--mint); color: #101f19; }
.button.primary:hover { background: #d5f5e4; }
.button.secondary { border-color: #3c504c; background: #141d20; }

.hero { border-bottom: 1px solid var(--line); background: #0f1418; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.36fr);
  gap: clamp(30px, 4.2vw, 66px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 96px);
}
.kicker { font-size: .9rem; font-weight: 600; color: var(--mint); }
.kicker > span { display: none; }
.hero h1 { margin-block: 20px 24px; font-size: clamp(2.65rem, 4.7vw, 4.75rem); letter-spacing: -.04em; line-height: 1.1; font-weight: 600; }
.hero h1 span { display: block; }
html[lang="en"] .hero h1 { font-size: clamp(2.65rem, 4.45vw, 4.35rem); }
.hero-summary, .feature-copy > p:not(.kicker), .download-copy > p:not(.kicker) { color: var(--muted); line-height: 1.65; }
.hero-summary { max-width: 29rem; font-size: clamp(1rem, 1.45vw, 1.13rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.product-frame {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.demo-switch { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.demo-switch button { min-height: 36px; background: transparent; border: 1px solid transparent; border-radius: 8px; padding-inline: 12px; color: var(--muted); font-weight: 500; }
.demo-switch button[aria-pressed="true"] { background: #22302d; border-color: #364843; color: #eef5f0; }
.demo-switch button:hover { color: #eef5f0; }
.product-frame figure { position: relative; }
.demo-image { position: relative; aspect-ratio: 1600 / 1050; border-radius: 8px; overflow: hidden; background: #11161a; }
.demo-image img { position: absolute; display: block; left: 0; bottom: 0; width: 100%; height: auto; }
.product-frame figcaption { position: absolute; inset: auto 12px 12px; pointer-events: none; padding: 8px 12px; border-radius: 8px; color: #dce8e1; background: #182124; font-size: .875rem; }

.feature-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 6vw, 94px);
  padding-block: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.feature-copy h2, .download-copy h2 { margin-block: 12px 16px; font-size: clamp(1.8rem, 3.1vw, 3rem); letter-spacing: -.025em; line-height: 1.18; font-weight: 600; }
.feature-copy > p:not(.kicker), .download-copy > p:not(.kicker) { max-width: 37rem; font-size: 1.03rem; }
.api-section { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
.api-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 24px 16px; list-style: none; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.api-flow li { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; }
.api-flow li:not(:last-child)::after { content: '→'; color: #8bbba7; position: absolute; top: 28px; right: -20px; font-size: 1.2rem; }
.api-flow li strong { font-weight: 600; }
.api-flow li > span:last-child { color: var(--muted); font-size: .875rem; line-height: 1.45; }
.flow-art { display: flex; position: relative; align-items: center; justify-content: center; margin: 4px 0 12px; width: 76px; height: 64px; }
.flow-signal { background: #d1eddb; border: 4px solid #386958; border-radius: 10px; gap: 5px; box-shadow: 0 4px 0 #29463c; transform: rotate(-6deg); }
.flow-signal i, .flow-signal b { display: block; position: relative; width: 6px; border-radius: 2px; background: #417963; height: 13px; }
.flow-signal i::after, .flow-signal b::after { content: ''; position: absolute; top: -4px; bottom: -4px; left: 2px; width: 2px; background: inherit; }
.flow-signal b { background: #ad7358; height: 7px; }
.flow-signal i:nth-child(1) { transform: translateY(7px); }
.flow-signal i:nth-child(5) { transform: translateY(-6px); }
.flow-bridge { gap: 4px; border-radius: 12px; width: 76px; height: 54px; margin-top: 8px; margin-bottom: 18px; background: #497967; border: 4px solid #a8d8c2; box-shadow: 0 4px 0 #263e36; }
.flow-bridge i { width: 6px; height: 6px; border-radius: 50%; background: #d8efdf; }
.flow-bridge b { width: 24px; height: 12px; border: 2px solid #d8efdf; border-radius: 4px; }
.flow-receipt { width: 49px; background: #ecdba9; border: 4px solid #ad965f; border-radius: 7px; flex-direction: column; gap: 8px; box-shadow: 0 4px 0 #5e533c; transform: rotate(7deg); }
.flow-receipt i { width: 19px; height: 3px; background: #9e8c60; box-shadow: 0 -7px 0 #9e8c60; }
.flow-receipt b { width: 15px; height: 8px; border-bottom: 3px solid #3a694f; border-left: 3px solid #3a694f; transform: rotate(-45deg); }
.copy-section { display: block; border: 0; padding-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--mint); font-size: .93rem; font-weight: 650; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.leaders-section { padding-block: 32px clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.leaders-heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; }
.leaders-heading h2, .news-section h2 { font-size: clamp(1.6rem, 2.65vw, 2.1rem); font-weight: 600; }
.leaders-heading p, .inline-status { margin-top: 8px; color: var(--muted); line-height: 1.6; }
.leaders-heading .text-link { margin-top: 0; white-space: nowrap; }
.leader-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.leader-card { --grade-ink: #cbddd6; --grade-line: #32413d; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--grade-line); border-radius: 16px; padding: 16px; background: var(--surface); font-variant-numeric: tabular-nums; }
.leader-card[data-grade="S"] { --grade-line: #8290ad; --grade-ink: #dae4ff; }
.leader-card[data-grade="A"] { --grade-line: #8f7950; --grade-ink: #f0d094; }
.leader-card[data-grade="B"] { --grade-line: #697d89; --grade-ink: #d3e5ec; }
.leader-card:focus-within, .leader-card:hover { border-color: var(--grade-ink); }
.leader-identity { display: flex; align-items: center; min-width: 0; gap: 8px; }
.leader-identity h3 { min-width: 0; margin: 0; font-size: 1rem; font-weight: 600; overflow-wrap: anywhere; }
.leader-avatar { display: grid; flex: 0 0 36px; height: 36px; place-items: center; background: #273531; color: #dce9e2; border-radius: 50%; overflow: hidden; }
.leader-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.leader-grade { margin-left: auto; padding: 2px 8px; border: 1px solid var(--grade-line); border-radius: 5px; color: var(--grade-ink); font-weight: 600; }
.leader-tags { display: flex; flex-wrap: wrap; align-content: start; gap: 4px; margin-block: 12px 20px; font-size: .8125rem; }
.leader-tags span { background: #212b2e; color: #cfddda; padding: 4px 8px; border-radius: 4px; }
.leader-unit { color: var(--muted); font-size: .875rem; }
.leader-pnl { margin-top: 4px; color: #91dbbb; font-size: clamp(1.35rem, 2vw, 1.9rem); font-weight: 600; }
.leader-spark { display: block; width: 100%; height: 40px; margin-block: 8px; }
.leader-metrics { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .875rem; padding-bottom: 12px; }
.leader-metrics dd { color: #e5efea; margin-top: 4px; font-weight: 600; }
.leader-link { display: grid; place-items: center; min-height: 40px; margin-top: auto; background: #20332c; color: #d5eddf; border-radius: 8px; font-weight: 600; font-size: .875rem; }
.leader-link:hover { background: #2b453b; }
.inline-status + .button { margin-top: 10px; }

.product-showcase {
  display: grid;
  grid-template-columns: minmax(180px, 224px) minmax(0, 1fr);
  gap: 24px;
  padding-block: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.showcase-navigation h2 { font-size: clamp(1.5rem, 2.4vw, 2.125rem); font-weight: 600; margin-bottom: 20px; }
.showcase-navigation .demo-switch { display: grid; gap: 4px; margin: 0; }
.showcase-navigation .demo-switch button { min-height: 44px; text-align: start; }
.showcase-stage { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #0f1418; }
.showcase-stage figure { height: clamp(300px, 44vw, 552px); }
.showcase-image { display: block; height: 100%; border-radius: 8px; overflow: hidden; }
.showcase-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.showcase-image:hover { cursor: zoom-in; }

.download-section {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px 56px;
  margin-block: clamp(46px, 6vw, 84px);
  padding: clamp(24px, 5vw, 59px);
  border: 1px solid #324840;
  border-radius: 21px;
  background: radial-gradient(ellipse at 0 0, #1b2c27, #13191e 68%);
}
.download-grid { display: grid; gap: 11px; }
.download-card { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 13px 15px; border: 1px solid #334641; background: #141d20; border-radius: 10px; transition: background-color .15s, border-color .15s; }
.download-card:hover { background: #1b2a26; border-color: #648878; }
.platform-icon { width: 39px; height: 39px; display: grid; place-items: center; color: var(--mint); background: #20312e; border-radius: 8px; }
.platform-icon svg { width: 21px; height: 21px; }
.download-details { display: grid; gap: 4px; }
.download-details > span { color: var(--muted); font-size: .8rem; }
.download-meta { display: flex; align-items: center; gap: clamp(6px, 1.1vw, 12px); }
.download-version { padding: 3px 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--mint); font-size: .78rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.download-arrow { color: var(--mint); font-size: 1.2rem; }
.news-section { padding-block: 0 64px; }
.news-section h2 { margin-bottom: 16px; }
.news-item { border-block-start: 1px solid var(--line); }
.news-item:last-child { border-block-end: 1px solid var(--line); }
.news-item summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; gap: 16px; align-items: center; list-style: none; min-height: 56px; padding-block: 8px; cursor: pointer; }
.news-item summary::-webkit-details-marker { display: none; }
.news-item summary::after { content: '+'; color: var(--mint); }
.news-item[open] summary::after { content: '−'; }
.news-item summary strong { font-weight: 600; }
.news-item time, #news-status, .news-window { color: var(--muted); }
.news-window { margin-bottom: 8px; }
.news-body { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 76ch; padding-bottom: 20px; line-height: 1.6; }
.news-item summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.help-launcher { position: fixed; z-index: 4; inset: auto max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) auto; display: inline-flex; align-items: center; gap: 12px; padding: 0 16px; min-height: 52px; color: #102019; font-weight: 600; background: var(--mint); border: 1px solid transparent; border-radius: 16px; box-shadow: 0 6px 24px #0007; }
.help-launcher:hover { background: #d0f2e0; }
.chat-mark { position: relative; display: inline-flex; justify-content: center; align-items: center; gap: 2px; width: 23px; height: 19px; border-radius: 7px; background: currentColor; flex: none; }
.chat-mark::after { content: ''; position: absolute; left: 5px; bottom: -3px; border: 4px solid transparent; border-left-color: currentColor; border-top: 0; transform: rotate(15deg); }
.chat-mark i { width: 3px; height: 3px; border-radius: 50%; background: var(--mint); }
.help-dialog { position: fixed; inset: auto max(24px, env(safe-area-inset-right)) max(88px, calc(env(safe-area-inset-bottom) + 64px)) auto; z-index: 5; margin: 0; padding: 0; width: min(416px, calc(100% - 32px)); max-height: min(632px, calc(100dvh - 110px)); border: 1px solid #455952; border-radius: 16px; background: var(--surface); color: inherit; box-shadow: 0 12px 36px #0008; }
.help-dialog[open] { display: flex; flex-direction: column; }
.help-dialog header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--mint); }
.help-dialog header h2 { flex: 1; font-size: 1.125rem; font-weight: 600; color: #e9f1ed; }
.help-dialog .chat-mark i { background: var(--surface); }
.help-close { width: 36px; height: 36px; border: 0; border-radius: 8px; background: #263133; color: #d8e7e2; font-size: 1.3rem; }
.help-messages { min-height: 140px; flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 9px; padding: 16px; }
.help-message { width: fit-content; max-width: 93%; padding: 9px 11px; border-radius: 9px; background: #1e292b; line-height: 1.5; font-size: .91rem; white-space: pre-line; overflow-wrap: anywhere; }
.help-message.question { align-self: flex-end; background: #2b4b40; }
.help-message.waiting { color: var(--mint); animation: reply-pulse 1s ease-in-out infinite alternate; }
@keyframes reply-pulse { to { opacity: .55; } }
.help-topics { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.help-topics button { border: 1px solid #40534c; border-radius: 8px; background: #16221f; padding: 6px 9px; font-size: .8rem; }
.help-topics button:hover, .help-close:hover { border-color: var(--mint); background: #284138; }
.help-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding-inline: 16px; }
.help-form input { width: 100%; border: 1px solid #43514e; border-radius: 9px; color: inherit; background: #101519; padding: 9px; }
.help-form .button { min-height: 43px; }
.help-account-note { color: var(--muted); padding: 10px 16px 15px; font-size: .8rem; line-height: 1.45; }
.help-account-note a { margin-left: 6px; color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
footer { border-top: 1px solid var(--line); background: #101419; }
.foot { padding-block: 20px 24px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.foot nav { flex-wrap: wrap; row-gap: 8px; }
.foot nav button { padding: 0; background: transparent; border: 0; }
.foot nav button:hover { color: var(--mint); }
.risk-note { margin-top: 14px; color: var(--muted); font-size: .81rem; line-height: 1.65; }
.risk-note + .risk-note { margin-top: 4px; }

@media (max-width: 1040px) {
  .shell { width: calc(100% - 56px); }
  .hero-grid { min-height: 0; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .leader-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .nav { grid-template-columns: 1fr auto; min-height: 64px; gap: 12px; }
  .product-nav { display: none; }
  .hero-grid, .feature-section, .api-section, .download-section { grid-template-columns: minmax(0, 1fr); }
  .product-showcase { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .showcase-navigation .demo-switch { display: flex; }
  .hero-grid, .feature-section { gap: 31px; }
  .hero h1 { font-size: clamp(2.7rem, 8vw, 4.4rem); }
  html[lang="en"] .hero h1 { font-size: clamp(2.65rem, 8vw, 4.35rem); }
}
@media (max-width: 570px) {
  .leader-grid { grid-template-columns: 1fr; }
  .showcase-navigation h2 { margin-bottom: 12px; }
  .showcase-navigation .demo-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-stage { padding: 8px; }
  .showcase-stage figure { height: clamp(236px, 67vw, 320px); }
  .leaders-heading { align-items: flex-start; flex-direction: column; }
  .help-launcher, .help-dialog { right: max(16px, env(safe-area-inset-right)); }
}
@media (max-height: 560px) {
  .help-messages { min-height: 48px; }
  .help-topics { display: none; }
}
@media (max-width: 460px) {
  .shell { width: calc(100% - 36px); }
  .nav .brand img { width: 112px; height: auto; }
  .nav-actions { gap: 10px; font-size: .8rem; }
  .button.nav-cta { padding-inline: 8px; gap: 5px; font-size: .8rem; }
  .actions { gap: 8px; }
  .actions .button { padding-inline: 11px; gap: 7px; font-size: .83rem; }
  .hero-grid { padding-block: 42px; }
  .feature-section { padding-block: 43px; }
  .copy-section { padding-bottom: 0; }
  .api-flow { padding-inline: 8px; gap: 16px; }
  .api-flow li:not(:last-child)::after { right: -14px; }
  .api-flow li strong { font-size: .875rem; }
  .api-flow li > span:last-child { font-size: .8125rem; }
  .foot-top { align-items: flex-start; flex-direction: column; gap: 8px; }
  .foot { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
#website-maintenance{background:#29251d;border-bottom:1px solid #6e552f;color:#f1d6a4;font-size:.875rem}
#website-maintenance>.shell{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;padding-block:10px}
#website-maintenance span{color:#dfd6c6}
