:root {
  color-scheme: dark;
  --bg: #090d14;
  --panel: #101721;
  --line: #253141;
  --text: #edf4fc;
  --muted: #9cabbf;
  --cyan: #78daff;
  --green: #a6f1ce;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.7 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: 0 0 auto; height: 950px; background: radial-gradient(ellipse at 80% 25%, #17516d26, transparent 55%), radial-gradient(ellipse at 15% 5%, #504a9c16, transparent 45%); }
a { color: inherit; text-decoration: none; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
p { color: var(--muted); }
.icon { width: 22px; height: 22px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 10px; background: var(--cyan); color: var(--bg); z-index: 1100; }
.skip-link:focus { top: 12px; }
.site-header { height: 82px; position: sticky; top: 0; z-index: 100; background: #090d14f5; border-bottom: 1px solid #26354880; }
.header-inner { height: 100%; max-width: 1440px; padding: 0 174px 0 48px; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 650; letter-spacing: -.7px; }
.brand-symbol { width: 31px; height: 31px; flex-shrink: 0; }
.desktop-nav { display: flex; gap: 8px; margin: 0; white-space: nowrap; }
.desktop-nav a { padding: 8px 13px; border-radius: 8px; color: #a6b6cb; font-size: 13px; transition: color .18s, background .18s; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: #ecf6ff; background: #1a263780; }
.header-login { margin-left: auto; color: #d4e0ee; font-size: 13px; white-space: nowrap; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; }
.header-login:hover { border-color: #7cb9d4; }
.mobile-menu { display: none; }
.product-home .language-switcher { top: 20px; right: 28px; z-index: 120; border-color: #314155; padding: 4px; background: #101925; box-shadow: none; }
.product-home .language-switcher button { padding: 6px 12px; font-size: 12px; }
.product-home .language-switcher button[aria-pressed="true"] { background: #b2eaff; }
.hero { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: 64px; padding-block: 95px 90px; }
.eyebrow { color: var(--cyan); font: 500 10px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: 1.6px; }
.hero-copy > .eyebrow { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid #32577170; background: #10304840; border-radius: 30px; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px #a6f1ce44; margin-right: 7px; vertical-align: 2px; }
.hero h1 { font-size: clamp(44px, 4.5vw, 65px); font-weight: 600; letter-spacing: -2.8px; line-height: 1.13; margin-top: 25px; }
.accent { color: var(--cyan); }
.hero h1 .accent { color: #91dcfa; }
.hero-description { font-size: 16px; line-height: 1.95; margin-top: 25px; max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 22px; font-size: 13px; font-weight: 600; transition: transform .18s, background .18s, box-shadow .18s; }
.button .icon { width: 17px; height: 17px; }
.primary { background: #9ae1fd; color: #09202c; border-color: #a2e6ff; box-shadow: 0 3px 0 #071b29, 0 6px 25px #58c8ff12; }
.primary:hover { background: #bcecff; transform: translateY(-2px); box-shadow: 0 7px 24px #58c8ff20; }
.secondary { background: #15203180; color: #dbe8f6; }
.secondary:hover { background: #1d2b40; transform: translateY(-2px); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; }
.hero-facts > span { display: flex; gap: 6px; align-items: center; font-size: 10px; color: #8c9fb5; }
.hero-facts .icon { width: 13px; height: 13px; color: #84a5be; }
.stack-visual { position: relative; overflow: hidden; border: 1px solid #32465b; border-radius: 22px; background: radial-gradient(ellipse at 50% 50%, #16375080, transparent 60%), linear-gradient(140deg, #142233, #0e1620 70%); box-shadow: 0 25px 80px #0003, 0 0 60px #4094b908, inset 0 1px 0 #ffffff08; }
.stack-heading, .stack-footer { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; }
.stack-title { font-size: 13px; font-weight: 500; color: #d6e6f4; }
.network-tag { font: 9px ui-monospace, monospace; letter-spacing: 2px; color: #6c8fa8; }
.network-visual { height: 340px; position: relative; margin: 4px 8px 0; background-image: radial-gradient(#6887a223 1px, transparent 1px); background-size: 20px 20px; }
.network-lines { position: absolute; width: 100%; height: 100%; inset: 0; }
.network-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 106px; height: 106px; border: 1px solid #5c879e; border-radius: 28px; background: linear-gradient(150deg, #24465e, #122431); box-shadow: 0 0 0 9px #15344b55, 0 0 45px #67d5fa15; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.network-center .brand-symbol { width: 28px; height: 28px; }
.network-center strong { font-size: 15px; font-weight: 600; margin-top: 5px; letter-spacing: -.4px; }
.network-center > span { font: 7px ui-monospace, monospace; letter-spacing: 2px; color: #89a7ba; margin-top: 3px; }
.network-node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 105px; min-height: 69px; padding: 10px 6px; border-radius: 12px; border: 1px solid #3b5367; background: #132030; box-shadow: 0 5px 20px #0003; color: #a4dff7; transition: border-color .2s, background .2s; }
.network-node:hover { border-color: #83d8fa; background: #1a3145; }
.network-node .icon { width: 19px; height: 19px; }
.network-node > span { color: #d6e6f4; font: 10px/1.4 ui-monospace, monospace; text-align: center; }
.node-rpc { left: 20%; top: 19%; }
.node-websockets { left: 80%; top: 19%; color: #c4b1f9; }
.node-grpc { left: 16%; top: 50%; }
.node-events { left: 84%; top: 50%; color: #f1ce96; }
.node-shredstream { left: 20%; top: 81%; color: #81ddd8; }
.node-swqos { left: 80%; top: 81%; color: var(--green); }
.stack-footer { padding-block: 16px; border-top: 1px solid #2b4053; background: #0d1824a0; color: #7e99b1; font: 9px/1.5 ui-monospace, monospace; }
.stack-footer > span:first-child { display: flex; align-items: center; }
.stack-footer .status-dot { width: 4px; height: 4px; }
.section { padding-block: 85px; }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading h2, .outro h2 { font-size: clamp(29px, 3vw, 40px); line-height: 1.3; letter-spacing: -1.3px; font-weight: 550; margin-top: 13px; }
.section-heading > p:last-child:not(.eyebrow) { margin-top: 16px; font-size: 14px; line-height: 1.9; max-width: 660px; }
.catalog { border-top: 1px solid #253548; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { --product-color: #86d6fb; --product-rgb: 114, 207, 250; display: flex; flex-direction: column; padding: 28px; position: relative; overflow: hidden; border: 1px solid #2a384a; border-radius: 16px; background: linear-gradient(140deg, rgba(var(--product-rgb), .045), transparent 60%), var(--panel); transition: border-color .2s, transform .2s, box-shadow .2s; }
.product-card::before { content: ""; position: absolute; height: 1px; top: 0; left: 25%; right: 25%; background: linear-gradient(90deg, transparent, rgba(var(--product-rgb), .5), transparent); }
.product-card:hover { border-color: rgba(var(--product-rgb), .55); transform: translateY(-4px); box-shadow: 0 15px 35px #0003; }
#websockets { --product-color: #c1b3fa; --product-rgb: 169, 143, 255; }
#grpc { --product-color: #9ab9ff; --product-rgb: 120, 156, 255; }
#events { --product-color: #edcc96; --product-rgb: 239, 188, 109; }
#shredstream { --product-color: #8ee2dc; --product-rgb: 88, 215, 205; }
#swqos { --product-color: #a6f1ce; --product-rgb: 112, 221, 161; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.product-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--product-color); border: 1px solid rgba(var(--product-rgb), .2); background: rgba(var(--product-rgb), .08); }
.product-icon .icon { width: 24px; height: 24px; }
.card-index { color: #8293aa; font: 10px ui-monospace, monospace; letter-spacing: 1px; }
.product-card .eyebrow { font-size: 9px; color: var(--product-color); letter-spacing: 1.25px; }
.product-card h3 { font-size: 24px; font-weight: 550; letter-spacing: -.7px; line-height: 1.3; min-height: 62px; margin-top: 9px; }
.product-description { font-size: 13px; line-height: 1.95; margin-top: 8px; color: #aebed1; }
.product-audience { font-size: 12px; line-height: 1.85; color: #d3dfef; padding-top: 17px; margin-top: 18px; border-top: 1px solid #283548; }
.card-bottom { margin-top: auto; padding-top: 19px; }
.product-note { font-size: 10px; line-height: 1.8; min-height: 36px; color: #8799b0; }
.text-link { display: flex; justify-content: space-between; gap: 14px; color: var(--product-color, var(--cyan)); font-size: 12px; font-weight: 500; margin-top: 20px; align-items: center; }
.text-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover .icon { transform: translate(2px, -2px); }
.use-cases { border-block: 1px solid #263548; background: linear-gradient(180deg, #101925, #0d141e); }
.use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.use-grid article { padding: 28px; border: 1px solid #29394b; border-radius: 16px; background: #111c2990; }
.use-top { display: flex; align-items: center; justify-content: space-between; color: #88a9c4; }
.use-top .icon { width: 26px; height: 26px; }
.mini-index { font: 10px ui-monospace, monospace; color: #6c8199; }
.use-grid h3 { font-size: 20px; font-weight: 500; margin-top: 24px; letter-spacing: -.4px; }
.use-grid p { font-size: 13px; line-height: 1.9; margin-top: 12px; min-height: 98px; }
.pill { display: inline-flex; font: 10px/1.7 ui-monospace, monospace; color: #a6d6ee; margin-top: 19px; padding: 6px 10px; border-radius: 7px; border: 1px solid #334d62; background: #16334640; }
.billing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.billing-card { position: relative; border: 1px solid #31465b; border-radius: 18px; padding: 32px; background: radial-gradient(ellipse at 100% 0, #244d6b35, transparent 65%), #111a26; }
.billing-icon { position: absolute; right: 28px; top: 28px; color: #739fba; }
.billing-icon .icon { width: 28px; height: 28px; }
.billing-card h3 { font-size: 29px; font-weight: 500; margin-top: 18px; letter-spacing: -.9px; }
.billing-card p:not(.eyebrow) { font-size: 13px; line-height: 1.95; margin-top: 15px; max-width: 470px; }
.billing-card .text-link { width: fit-content; gap: 35px; margin-top: 25px; }
.send-billing { background: radial-gradient(ellipse at 100% 0, #2b725032, transparent 65%), #101d1c; border-color: #34584b; }
.send-billing .eyebrow, .send-billing .accent, .send-billing .text-link, .send-billing .billing-icon { color: var(--green); }
.table-scroll { overflow: auto; margin-top: 24px; border: 1px solid #2a3a4e; border-radius: 14px; background: #0e1520; }
table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; font-size: 12px; }
th, td { padding: 20px 22px; border-bottom: 1px solid #273447; }
thead th { font-weight: 500; font-size: 10px; color: #8ea8c2; background: #152131; }
tbody th { font-weight: 500; }
tbody td { color: #a7b7cc; }
tbody tr:hover { background: #19273960; }
tbody tr:last-child > * { border-bottom: 0; }
.table-note { font-size: 11px; line-height: 1.9; margin-top: 15px; max-width: 900px; color: #8296ad; }
.getting-started { border-block: 1px solid #29394b; background: #0f1823; }
.getting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.getting-grid .section-heading { margin-bottom: 0; }
.getting-grid .button { margin-top: 25px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 0 0 28px 65px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 48px; bottom: 9px; width: 1px; background: linear-gradient(#3b6079, #1d3044); }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: '0' counter(step); position: absolute; top: 0; left: 0; height: 39px; width: 39px; display: grid; place-items: center; font: 11px ui-monospace, monospace; color: #a6d9ef; border: 1px solid #38546c; border-radius: 11px; background: #1a2c3e; }
.steps h3 { font-size: 17px; font-weight: 500; padding-top: 3px; }
.steps p { font-size: 13px; line-height: 1.9; margin-top: 8px; }
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq details { border: 1px solid #2a394d; border-radius: 12px; margin-bottom: 10px; background: #101823; }
.faq details[open] { border-color: #3a617b; background: #132131; }
.faq summary { padding: 19px 48px 19px 22px; font-size: 14px; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 21px; color: var(--cyan); font-size: 18px; line-height: 24px; font-weight: 300; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 22px 22px; font-size: 13px; line-height: 1.95; }
.outro { position: relative; overflow: hidden; border: 1px solid #436479; border-radius: 24px; padding: 65px 40px; text-align: center; margin-block: 0 80px; background: radial-gradient(ellipse at 50% 0, #25668960, transparent 70%), linear-gradient(120deg, #132336, #112225); }
.outro::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(#ffffff04 1px, transparent 1px), linear-gradient(90deg, #ffffff04 1px, transparent 1px); background-size: 40px 40px; }
.outro > * { position: relative; }
.outro h2 { max-width: 750px; margin: 16px auto; }
.outro p:not(.eyebrow) { font-size: 14px; }
.outro .actions { justify-content: center; }
.site-footer { border-top: 1px solid #27384b; padding-block: 45px; display: flex; justify-content: space-between; gap: 50px; }
.site-footer p { font-size: 12px; max-width: 340px; margin: 15px 0 23px; }
.site-footer small { font-size: 10px; color: #768aa2; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 55px; align-content: start; font-size: 12px; color: #a4b6cd; }
.site-footer a:hover { color: var(--cyan); }
html[lang="zh-CN"] .hero h1 { font-size: clamp(42px, 4.3vw, 59px); letter-spacing: -1.7px; line-height: 1.25; }
@media (min-width: 1440px) {
  .product-home .language-switcher { right: max(28px, calc((100vw - 1440px) / 2 + 28px)); }
}
@media (max-width: 1100px) {
  .header-inner { gap: 20px; }
  .desktop-nav { gap: 0; }
  .desktop-nav a { padding-inline: 10px; }
  .hero { gap: 35px; }
  .hero h1 { font-size: 48px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card h3 { min-height: 0; margin-bottom: 8px; }
  .hero-facts { gap: 12px; }
  .network-node { width: 89px; }
  .network-node > span { font-size: 9px; }
  .network-center { width: 92px; height: 92px; }
  .stack-footer { font-size: 8px; padding-inline: 16px; }
  .getting-grid { gap: 50px; }
  .use-grid { gap: 15px; }
  .use-grid article { padding: 22px; }
  .pill { font-size: 9px; padding-inline: 6px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 72px; }
  .header-inner { padding-left: 20px; padding-right: 138px; gap: 14px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand-symbol { width: 26px; height: 26px; }
  .product-home .language-switcher { top: 15px; right: 14px; }
  .product-home .language-switcher button { padding-inline: 10px; }
  .desktop-nav, .header-login { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .mobile-menu > summary { display: flex; align-items: center; gap: 5px; padding: 12px 0; cursor: pointer; color: #b4c8dd; font-size: 11px; list-style: none; }
  .mobile-menu > summary .icon { width: 17px; height: 17px; }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; left: 12px; right: 12px; top: 78px; padding: 10px; display: flex; flex-direction: column; border: 1px solid #3a516c; border-radius: 14px; background: #111d2c; box-shadow: 0 20px 50px #0008; }
  .mobile-menu nav a { padding: 12px; font-size: 14px; border-radius: 7px; }
  .mobile-menu nav a:hover { background: #22334b; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 55px 60px; }
  .hero h1, html[lang="zh-CN"] .hero h1 { font-size: 48px; letter-spacing: -1.8px; }
  .hero-description { font-size: 15px; margin-top: 22px; }
  .hero-facts { gap: 18px; }
  .network-visual { height: 320px; }
  .network-node { width: 105px; }
  .network-node > span { font-size: 10px; }
  .network-center { width: 106px; height: 106px; }
  .stack-footer { font-size: 9px; padding: 17px 24px; }
  .section { padding-block: 60px; }
  .section-heading h2, .outro h2 { font-size: 31px; }
  .use-grid { grid-template-columns: 1fr; }
  .use-grid article { padding: 25px; }
  .use-grid p { min-height: 0; }
  .use-grid h3 { margin-top: 16px; }
  .pill { font-size: 11px; padding-inline: 10px; }
  .billing-grid, .getting-grid, .faq { grid-template-columns: 1fr; gap: 25px; }
  .getting-grid { gap: 40px; }
  .faq .section-heading { margin-bottom: 0; }
  .outro { padding: 42px 24px; margin-bottom: 55px; }
  .site-footer { flex-direction: column; gap: 30px; }
  .site-footer nav { grid-template-columns: repeat(3, 1fr); gap: 15px; }
}
@media (max-width: 480px) {
  .hero h1, html[lang="zh-CN"] .hero h1 { font-size: 39px; letter-spacing: -1.4px; }
  .hero-description { font-size: 14px; }
  .hero .button { padding: 12px 18px; gap: 15px; }
  .hero-facts { gap: 12px; }
  .hero-facts > span { font-size: 9px; }
  .network-visual { height: 300px; margin-inline: 3px; }
  .network-node { width: 84px; min-height: 65px; gap: 5px; border-radius: 10px; }
  .network-node > span { font-size: 8px; }
  .network-node .icon { width: 17px; height: 17px; }
  .network-center { width: 80px; height: 86px; border-radius: 21px; box-shadow: 0 0 0 5px #15344b55, 0 0 30px #67d5fa15; }
  .network-center strong { font-size: 13px; }
  .network-center .brand-symbol { width: 24px; height: 24px; }
  .stack-heading { padding: 19px; }
  .stack-footer { font-size: 7px; padding: 14px 15px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card { padding: 26px; }
  .product-card h3 { font-size: 26px; }
  .product-description { font-size: 14px; }
  .product-note { min-height: 0; }
  .section-heading h2, .outro h2 { font-size: 28px; }
  .billing-card { padding: 26px; }
  .billing-card h3 { font-size: 25px; }
  .billing-icon { top: 23px; right: 23px; }
  .site-footer nav { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
