:root {
  --ink: #111827;
  --muted: #667085;
  --line: #e5e7eb;
  --panel: #f7f8fa;
  --paper: #ffffff;
  --night: #101820;
  --night-2: #17232d;
  --cyan: #0ca6a6;
  --cyan-deep: #087f80;
  --lime: #d6f04b;
  --orange: #f28b35;
  --red: #db5b60;
  --shadow: 0 20px 55px rgba(16, 24, 32, 0.1);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow {
  color: var(--cyan-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.section { padding: 96px 0; }
.section--soft { background: var(--panel); }
.section--dark { color: #f5f8fa; background: var(--night); }
.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 42px; }
.section-heading h2 { max-width: 720px; margin: 10px 0 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.12; letter-spacing: -.03em; }
.section-heading p { max-width: 420px; margin: 0; color: var(--muted); }
.section--dark .section-heading p { color: #aab7c1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 7px;
  font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: var(--night); background: var(--lime); }
.btn--primary:hover { background: #e3f869; }
.btn--dark { color: #fff; background: var(--night); }
.btn--ghost { color: inherit; border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--cyan); }
.btn--small { min-height: 38px; padding: 0 14px; font-size: 13px; }
.icon { width: 18px; height: 18px; display: inline-block; }

/* Header */
.notice { color: #eaffff; background: var(--cyan-deep); font-size: 12px; }
.notice__inner { display: flex; min-height: 34px; align-items: center; justify-content: center; gap: 12px; }
.notice__inner button { padding: 0; color: inherit; border: 0; background: none; opacity: .8; cursor: pointer; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(229, 231, 235, .85); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 900; letter-spacing: -.04em; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; color: var(--night); border-radius: 7px; background: var(--lime); font-size: 16px; font-weight: 950; }
.nav__links { display: flex; align-items: center; gap: 28px; color: #475467; font-size: 14px; font-weight: 700; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--cyan-deep); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 7px; background: #fff; cursor: pointer; }

/* Home hero */
.hero { padding: 72px 0 84px; overflow: hidden; background: #fbfcfa; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .92fr); gap: 70px; align-items: center; }
.hero h1 { max-width: 650px; margin: 16px 0 22px; font-size: clamp(42px, 6vw, 76px); line-height: .99; letter-spacing: -.065em; }
.hero__lede { max-width: 570px; margin: 0 0 30px; color: #5c6873; font-size: 18px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta { display: flex; gap: 24px; margin-top: 40px; color: var(--muted); font-size: 12px; }
.hero__meta strong { display: block; color: var(--ink); font-size: 19px; line-height: 1.2; }
.terminal { position: relative; min-height: 485px; padding: 22px; overflow: hidden; color: #ecf6f7; border: 1px solid #31434d; border-radius: 12px; background: var(--night); box-shadow: var(--shadow); }
.terminal::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 32px 32px; }
.terminal > * { position: relative; z-index: 1; }
.terminal__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; color: #98a8b3; font-size: 12px; }
.lights { display: flex; gap: 6px; }
.lights i { width: 8px; height: 8px; display: block; border-radius: 50%; background: #60727c; }
.lights i:first-child { background: #f28b35; }
.market-list { display: grid; gap: 10px; }
.market-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.market-row__name { font-weight: 800; }
.market-row__price { color: #b8c8ce; font-variant-numeric: tabular-nums; text-align: right; }
.up, .down { font-size: 12px; font-weight: 800; text-align: right; }
.up { color: var(--lime); }
.down { color: #ff9e9e; }
.chart { width: 100%; height: 146px; margin: 26px 0 16px; }
.terminal__footer { display: flex; justify-content: space-between; color: #98a8b3; font-size: 11px; }

/* Cards and grids */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(16,24,32,.08); }
.feature-card__icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 30px; color: var(--cyan-deep); border: 1px solid #b9e7e4; border-radius: 8px; background: #effcfb; font-weight: 900; }
.feature-card h3 { margin: 0 0 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.comparison { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
th, td { padding: 17px 18px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: #475467; background: #f4f7f6; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { color: #344054; font-weight: 800; }
.check { color: var(--cyan-deep); font-weight: 900; }
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.review { min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid #354a57; border-radius: var(--radius); background: #16242d; }
.review__mark { color: var(--lime); font-size: 28px; line-height: 1; }
.review p { margin: 18px 0 28px; color: #d6e0e4; font-size: 15px; }
.review__author { color: #94a6b0; font-size: 12px; }
.trust { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.trust h2 { margin: 12px 0 18px; font-size: clamp(30px, 4vw, 50px); line-height: 1.05; letter-spacing: -.04em; }
.trust p { color: #aab7c1; }
.trust__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.trust > .source-note { grid-column: 1 / -1; }
.fact { padding: 20px; border: 1px solid #344853; border-radius: 8px; background: #16242d; }
.fact strong { display: block; margin-bottom: 6px; color: var(--lime); font-size: 26px; line-height: 1.1; }
.fact span { color: #9eafb7; font-size: 12px; }
.faq { max-width: 870px; margin: 0 auto; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 800; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan-deep); font-size: 24px; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { max-width: 760px; margin: -6px 42px 24px 0; color: var(--muted); }

/* Download */
.page-hero { padding: 72px 0; background: #fbfcfa; border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: 1fr .75fr; gap: 70px; align-items: center; }
.page-hero h1 { margin: 14px 0 16px; max-width: 700px; font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.06em; }
.page-hero p { max-width: 640px; margin: 0; color: var(--muted); font-size: 17px; }
.download-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.platform-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.platform-tab { min-height: 38px; padding: 0 13px; border: 1px solid var(--line); border-radius: 6px; color: #475467; background: #fff; cursor: pointer; font-size: 12px; font-weight: 800; }
.platform-tab[aria-selected="true"] { color: var(--night); border-color: var(--lime); background: var(--lime); }
.download-panel__name { margin: 0 0 4px; font-size: 23px; }
.download-panel__desc { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.download-panel__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.download-panel__meta div { padding: 12px; border: 1px solid var(--line); background: #fafafa; }
.download-panel__meta span { display: block; color: var(--muted); font-size: 11px; }
.download-panel__meta strong { display: block; margin-top: 3px; font-size: 13px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: steps; }
.step { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step::before { counter-increment: steps; content: counter(steps, decimal-leading-zero); display: block; margin-bottom: 32px; color: var(--cyan-deep); font-size: 13px; font-weight: 900; }
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 13px; }
.spec-table td:first-child { width: 25%; }
.security-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; border-left: 4px solid var(--cyan); background: #eef9f8; }
.security-strip h2 { margin: 0 0 4px; font-size: 24px; line-height: 1.2; }
.security-strip p { margin: 0; color: #52616b; font-size: 13px; }

/* News */
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 52px; align-items: start; }
.news-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 28px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 11px; border: 1px solid var(--line); border-radius: 4px; color: #52616b; font: inherit; font-size: 12px; font-weight: 800; background: #fff; cursor: pointer; }
.tag--active { color: var(--cyan-deep); border-color: #a9dfdc; background: #effcfb; }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.article-card { display: flex; min-height: 260px; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 15px 34px rgba(16,24,32,.08); }
.article-card__visual { min-height: 92px; display: flex; align-items: end; padding: 15px 18px; color: #fff; background: var(--night); }
.article-card:nth-child(2n) .article-card__visual { background: var(--cyan-deep); }
.article-card:nth-child(3n) .article-card__visual { background: #54644d; }
.article-card__index { font-size: 32px; font-weight: 950; line-height: .9; opacity: .65; }
.article-card__body { flex: 1; padding: 19px; }
.article-card__meta { color: var(--cyan-deep); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.article-card h3 { margin: 8px 0; font-size: 18px; line-height: 1.3; }
.article-card p { margin: 0; color: var(--muted); font-size: 13px; }
.sidebar { position: sticky; top: 104px; padding: 22px; border: 1px solid var(--line); background: #fafbfb; }
.sidebar h3 { margin: 0 0 16px; font-size: 19px; }
.hot-list { margin: 0; padding: 0; list-style: none; counter-reset: hot; }
.hot-list li { display: grid; grid-template-columns: 25px 1fr; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.hot-list li::before { counter-increment: hot; content: counter(hot, decimal-leading-zero); color: var(--cyan-deep); font-size: 12px; font-weight: 900; }
.hot-list a { font-size: 13px; font-weight: 800; line-height: 1.4; }
.sidebar__note { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

/* Footer and motion */
.site-footer { padding: 42px 0 28px; color: #b7c3ca; background: var(--night); }
.footer__top { display: flex; align-items: start; justify-content: space-between; gap: 30px; padding-bottom: 36px; }
.footer__brand { color: #fff; }
.footer__links { display: flex; gap: 24px; color: #b7c3ca; font-size: 13px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid #2c3d47; color: #83959e; font-size: 11px; }
.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }
.source-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.article-card__meta-row { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; color: var(--muted); font-size: 11px; }
.article-card__meta-row span + span::before { content: "·"; margin-right: 14px; color: #a0aab2; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; color: var(--night); background: var(--lime); font-weight: 800; }
.skip-link:focus { top: 12px; }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.legal-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.legal-card h3 { margin: 0 0 8px; font-size: 18px; }
.legal-card p { margin: 0; color: var(--muted); font-size: 14px; }
.prose { max-width: 820px; }
.prose h2 { margin: 38px 0 10px; font-size: 28px; }
.prose h3 { margin: 26px 0 8px; font-size: 19px; }
.prose p, .prose li { color: #52616b; font-size: 16px; }
.prose ul { padding-left: 22px; }
.article-header { max-width: 820px; }
.article-header h1 { margin: 14px 0 16px; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.06em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 12px; }
.article-meta span + span::before { content: "·"; margin-right: 18px; color: #a0aab2; }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.related-links a { padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 13px; font-weight: 800; }
.related-links a:hover { border-color: var(--cyan); }

@media (max-width: 980px) {
  .hero__grid, .page-hero__grid, .trust { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 56px; }
  .terminal { min-height: 430px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 720px) {
  .shell { width: min(100% - 32px, 560px); }
  .section { padding: 70px 0; }
  .notice__inner { justify-content: space-between; }
  .nav { min-height: 66px; }
  .nav__links { position: absolute; top: 66px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px; }
  .nav__actions .btn--ghost { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .hero h1 { font-size: clamp(42px, 13vw, 62px); }
  .hero__meta { gap: 15px; flex-wrap: wrap; }
  .feature-grid, .review-grid, .article-grid, .steps { grid-template-columns: 1fr; }
  .legal-grid, .related-links { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 18px; }
  .trust__facts { grid-template-columns: 1fr 1fr; }
  .security-strip { display: block; }
  .security-strip .btn { margin-top: 18px; }
  .footer__top, .footer__bottom { display: block; }
  .footer__links { margin-top: 22px; flex-wrap: wrap; }
  .footer__bottom p + p { margin-top: 8px; }
}
