:root {
  --color-bg: #050b14;
  --color-bg-soft: #081221;
  --color-panel: rgba(13, 27, 46, 0.78);
  --color-panel-solid: #0d1b2e;
  --color-panel-raised: #11243b;
  --color-text: #edf6ff;
  --color-text-soft: #a5b8ce;
  --color-muted: #7087a2;
  --color-accent: #65e7f4;
  --color-accent-strong: #26c9dc;
  --color-violet: #9a83ff;
  --color-green: #5de6a7;
  --color-warning: #ffbd4a;
  --color-danger: #ff6f82;
  --color-border: rgba(142, 188, 230, 0.16);
  --color-border-strong: rgba(101, 231, 244, 0.34);
  --shadow-soft: 0 18px 70px rgba(0, 0, 0, 0.28);
  --shadow-glow: 0 0 55px rgba(38, 201, 220, 0.13);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --page-width: 1220px;
  --nav-height: 70px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 28px);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 14% -10%, rgba(101, 231, 244, 0.12), transparent 30rem),
    radial-gradient(circle at 88% 7%, rgba(154, 131, 255, 0.12), transparent 28rem),
    var(--color-bg);
  color: var(--color-text);
  font-family: Inter, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(128, 182, 229, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 182, 229, 0.025) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: #a7f5fb;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(101, 231, 244, 0.82);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #021016;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--page-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--nav-height);
  border-bottom: 1px solid var(--color-border);
  background: rgba(5, 11, 20, 0.78);
  backdrop-filter: blur(20px) saturate(150%);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--color-text);
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-violet));
  color: #03101a;
  box-shadow: 0 0 30px rgba(101, 231, 244, 0.25);
}

.brand small {
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 9px 13px;
  border-radius: 9px;
  color: var(--color-text-soft);
  font-size: 0.92rem;
  font-weight: 650;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(101, 231, 244, 0.08);
  color: var(--color-text);
}

.main-nav .nav-download {
  margin-left: 8px;
  border: 1px solid var(--color-border-strong);
  background: rgba(101, 231, 244, 0.08);
  color: var(--color-accent);
}

.menu-toggle,
.toc-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-panel);
  color: var(--color-text);
  cursor: pointer;
}

.hero {
  position: relative;
  padding: 94px 0 54px;
  overflow: clip;
  text-align: center;
}

.hero::after {
  position: absolute;
  top: 12%;
  left: 50%;
  z-index: -1;
  width: 760px;
  height: 420px;
  content: "";
  background: radial-gradient(ellipse, rgba(54, 207, 227, 0.13), transparent 68%);
  transform: translateX(-50%);
  filter: blur(10px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  background: rgba(101, 231, 244, 0.07);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 14px var(--color-green);
  content: "";
}

.hero h1,
.download-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
}

.gradient-text {
  background: linear-gradient(110deg, #f5fbff 18%, var(--color-accent) 55%, #b9abff 90%);
  background-clip: text;
  color: transparent;
}

.hero-lead,
.download-lead {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--color-text-soft);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 19px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-panel);
  color: var(--color-text);
  font-weight: 760;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  border-color: var(--color-border-strong);
  color: var(--color-text);
  transform: translateY(-2px);
}

.button-primary {
  border-color: transparent;
  background: linear-gradient(120deg, var(--color-accent), #7fd1ff);
  color: #03121b;
  box-shadow: 0 10px 36px rgba(38, 201, 220, 0.2);
}

.button-primary:hover {
  color: #03121b;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 36px auto 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-facts span::before {
  color: var(--color-green);
  content: "✓";
  font-weight: 900;
}

.carousel-section {
  padding: 20px 0 80px;
}

.carousel {
  position: relative;
  padding: 10px;
  border: 1px solid var(--color-border-strong);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(22, 47, 75, 0.86), rgba(8, 18, 32, 0.92));
  box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.carousel-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 10px 8px;
  color: var(--color-muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.75rem;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6f82;
}

.window-dots i:nth-child(2) { background: #ffbd4a; }
.window-dots i:nth-child(3) { background: #5de6a7; }

.carousel-viewport {
  position: relative;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: #060b13;
}

.js .carousel-viewport {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.carousel-slide {
  margin: 0 0 12px;
  background: #060b13;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #060b13;
}

.carousel-slide.image-missing::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--color-muted);
  text-align: center;
  content: "产品截图暂不可用";
}

.carousel-slide figcaption {
  padding: 14px 18px;
  color: var(--color-text-soft);
  font-size: 0.92rem;
}

.js .carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
  transform: scale(1.015);
}

.js .carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.js .carousel-slide figcaption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(4, 10, 18, 0.76);
  backdrop-filter: blur(12px);
}

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  background: rgba(5, 12, 22, 0.78);
  color: var(--color-text);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.carousel-control:hover { background: rgba(22, 52, 76, 0.92); }
.carousel-control.prev { left: 22px; }
.carousel-control.next { right: 22px; }

.carousel-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  min-height: 28px;
  padding-top: 13px;
}

.js .carousel-control { display: grid; }
.js .carousel-dots { display: flex; }

.carousel-dot {
  width: 28px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #29425d;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.carousel-dot[aria-current="true"] {
  width: 48px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-violet));
}

.section {
  padding: 82px 0;
}

.section-muted {
  border-block: 1px solid var(--color-border);
  background: rgba(9, 20, 35, 0.48);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-heading p:last-child {
  margin: 13px 0 0;
  color: var(--color-text-soft);
}

.value-grid,
.feature-grid,
.download-grid {
  display: grid;
  gap: 16px;
}

.value-grid { grid-template-columns: repeat(5, 1fr); }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.download-grid { grid-template-columns: repeat(3, 1fr); }

.value-card,
.feature-card,
.download-card,
.notice-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03);
}

.value-card {
  min-height: 170px;
  padding: 22px;
}

.value-card::after,
.download-card::after {
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--glow, rgba(101, 231, 244, 0.13));
  content: "";
  filter: blur(12px);
}

.card-index {
  color: var(--color-accent);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.76rem;
}

.value-card h3,
.feature-card h3,
.download-card h2 {
  margin: 18px 0 8px;
  line-height: 1.3;
}

.value-card p,
.feature-card p,
.download-card p {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.92rem;
}

.feature-card {
  min-height: 184px;
  padding: 23px;
}

.feature-icon,
.platform-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
  background: rgba(101, 231, 244, 0.08);
  color: var(--color-accent);
  font-weight: 850;
}

.feature-card h3 { margin-top: 15px; }

.docs-section {
  padding: 92px 0 120px;
}

.docs-toolbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 22px;
}

.search-shell {
  position: relative;
  flex: 1;
}

.search-shell::before {
  position: absolute;
  top: 50%;
  left: 16px;
  color: var(--color-muted);
  content: "⌕";
  font-size: 1.2rem;
  transform: translateY(-50%);
}

.doc-search {
  width: 100%;
  min-height: 48px;
  padding: 10px 96px 10px 45px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(10, 23, 39, 0.84);
  color: var(--color-text);
}

.doc-search::placeholder { color: #60748c; }

.search-count {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--color-muted);
  font-size: 0.78rem;
  transform: translateY(-50%);
}

.doc-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.doc-toc {
  position: sticky;
  top: calc(var(--nav-height) + 22px);
  max-height: calc(100vh - var(--nav-height) - 44px);
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(8, 18, 32, 0.78);
}

.doc-toc-title {
  display: flex;
  justify-content: space-between;
  margin: 2px 5px 12px;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.doc-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.doc-toc li { margin: 3px 0; }

.doc-toc a {
  display: block;
  padding: 7px 9px;
  border-left: 2px solid transparent;
  border-radius: 7px;
  color: var(--color-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.doc-toc .toc-level-3 a,
.doc-toc .toc-level-4 a {
  padding-left: 19px;
  font-size: 0.78rem;
}

.doc-toc a:hover,
.doc-toc a.is-active {
  border-left-color: var(--color-accent);
  background: rgba(101, 231, 244, 0.07);
  color: var(--color-text);
}

.doc-article {
  min-width: 0;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgba(8, 18, 32, 0.72);
  box-shadow: var(--shadow-soft);
}

.doc-article > h1:first-child {
  display: none;
}

.doc-article h2 {
  margin: 76px 0 22px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--color-border);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.doc-article h2:first-of-type { margin-top: 0; }

.doc-article h3 {
  margin: 48px 0 16px;
  color: #dff8fb;
  font-size: 1.34rem;
  line-height: 1.35;
}

.doc-article h4 {
  margin: 32px 0 12px;
  color: var(--color-accent);
  font-size: 1.08rem;
}

.doc-article p,
.doc-article li {
  color: #b8c8da;
}

.doc-article strong { color: #f4f9ff; }

.doc-article ul,
.doc-article ol {
  padding-left: 1.4rem;
}

.doc-article li { margin: 0.5rem 0; }

.doc-article li::marker { color: var(--color-accent); }

.doc-article blockquote {
  margin: 24px 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 189, 74, 0.25);
  border-left: 4px solid var(--color-warning);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 189, 74, 0.07);
}

.doc-article blockquote p { margin: 0; }

.doc-article code {
  padding: 0.15em 0.38em;
  border: 1px solid rgba(101, 231, 244, 0.15);
  border-radius: 5px;
  background: rgba(101, 231, 244, 0.07);
  color: #a7f5fb;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
}

.code-shell {
  position: relative;
  margin: 22px 0;
}

.doc-article pre {
  margin: 0;
  padding: 21px;
  overflow: auto;
  border: 1px solid var(--color-border);
  border-radius: 13px;
  background: #040a12;
}

.doc-article pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: #c9d9e9;
}

.copy-code {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid var(--color-border);
  border-radius: 7px;
  background: #102238;
  color: var(--color-text-soft);
  font-size: 0.72rem;
  cursor: pointer;
}

.table-scroll {
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: 13px;
}

.doc-article table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(9, 22, 38, 0.75);
  font-size: 0.9rem;
}

.doc-article th,
.doc-article td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.doc-article th {
  background: rgba(101, 231, 244, 0.07);
  color: var(--color-text);
}

.doc-article tr:last-child td { border-bottom: 0; }

.doc-section-hidden { display: none !important; }

.no-results {
  display: none;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(255, 189, 74, 0.25);
  border-radius: 12px;
  background: rgba(255, 189, 74, 0.06);
  color: #ffd98f;
}

.no-results.is-visible { display: block; }

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.88rem;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  background: rgba(12, 28, 47, 0.9);
  color: var(--color-accent);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.download-main {
  min-height: calc(100vh - var(--nav-height));
}

.download-hero {
  padding: 100px 0 52px;
  text-align: center;
}

.download-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.download-grid {
  padding: 18px 0 90px;
}

.download-card {
  min-height: 410px;
  padding: 28px;
}

.download-card.android { --glow: rgba(93, 230, 167, 0.16); }
.download-card.windows { --glow: rgba(101, 160, 255, 0.17); }
.download-card.linux { --glow: rgba(255, 189, 74, 0.14); }

.download-card .platform-icon {
  width: 58px;
  height: 58px;
}

.download-card h2 {
  margin-top: 24px;
  font-size: 1.7rem;
}

.download-meta {
  display: grid;
  gap: 8px;
  margin: 22px 0 26px;
  padding: 14px 0;
  border-block: 1px solid var(--color-border);
}

.download-meta span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.download-meta strong { color: var(--color-text-soft); }

.download-card .button {
  position: relative;
  z-index: 1;
  width: 100%;
}

.changelog-section {
  padding: 12px 0 84px;
}

.changelog-heading {
  margin-inline: auto;
  text-align: center;
}

.changelog-timeline {
  position: relative;
  width: min(100%, 920px);
  margin-inline: auto;
}

.changelog-timeline::before {
  position: absolute;
  top: 20px;
  bottom: 24px;
  left: 25px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), rgba(101, 231, 244, 0.12));
  content: "";
}

.changelog-entry {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  width: 100%;
  padding-bottom: 22px;
}

.changelog-entry:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: start center;
  padding-top: 18px;
}

.timeline-marker span {
  width: 13px;
  height: 13px;
  border: 3px solid #263e58;
  border-radius: 50%;
  background: var(--color-bg);
  box-shadow: 0 0 0 5px var(--color-bg);
}

.changelog-entry.is-latest .timeline-marker span {
  border-color: var(--color-accent);
  background: var(--color-accent);
  box-shadow: 0 0 0 5px var(--color-bg), 0 0 24px rgba(101, 231, 244, 0.62);
}

.changelog-card {
  padding: 24px 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(16, 35, 58, 0.88), rgba(8, 20, 35, 0.88));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

.changelog-entry.is-latest .changelog-card {
  border-color: var(--color-border-strong);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 16px 45px rgba(38, 201, 220, 0.08);
}

.version-row,
.version-title,
.platform-tags {
  display: flex;
  align-items: center;
}

.version-row {
  justify-content: space-between;
  gap: 18px;
}

.version-title {
  flex-wrap: wrap;
  gap: 10px;
}

.version-title h3 {
  margin: 0;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 1.34rem;
  letter-spacing: -0.02em;
}

.version-row time {
  color: var(--color-muted);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.8rem;
}

.version-badge {
  padding: 3px 8px;
  border: 1px solid rgba(101, 231, 244, 0.35);
  border-radius: 999px;
  background: rgba(101, 231, 244, 0.1);
  color: var(--color-accent);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.platform-tags {
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 16px;
}

.platform-tag {
  padding: 3px 9px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(154, 131, 255, 0.07);
  color: #c3b8ff;
  font-size: 0.72rem;
  font-weight: 700;
}

.changelog-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.changelog-card li {
  margin: 0.42rem 0;
  color: var(--color-text-soft);
}

.changelog-card li::marker {
  color: var(--color-accent);
}

.notice-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  margin-bottom: 90px;
  padding: 24px;
}

.notice-card h2 { margin: 0 0 8px; }
.notice-card p { margin: 0; color: var(--color-text-soft); }

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  max-width: min(380px, calc(100% - 32px));
  padding: 13px 16px;
  border: 1px solid var(--color-border-strong);
  border-radius: 11px;
  background: #10243a;
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: rgba(6, 14, 25, 0.98);
    box-shadow: var(--shadow-soft);
  }

  .main-nav.is-open { display: flex; }
  .main-nav .nav-download { margin-left: 0; }

  .doc-layout { grid-template-columns: 1fr; }
  .toc-toggle { display: inline-flex; }

  .doc-toc {
    position: static;
    display: none;
    max-height: 48vh;
  }

  .doc-toc.is-open { display: block; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: auto; }
}

@media (max-width: 720px) {
  :root { --nav-height: 62px; }
  .container { width: min(calc(100% - 28px), var(--page-width)); }
  .brand small { display: none; }
  .hero { padding-top: 68px; }
  .hero h1 { font-size: clamp(2.45rem, 13vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-facts { gap: 10px 20px; }
  .carousel-section { padding-bottom: 54px; }
  .carousel { padding: 6px; border-radius: 17px; }
  .carousel-chrome { min-height: 34px; }
  .carousel-control { width: 38px; height: 38px; }
  .carousel-control.prev { left: 12px; }
  .carousel-control.next { right: 12px; }
  .js .carousel-slide figcaption { right: 8px; bottom: 8px; left: 8px; padding: 8px 10px; font-size: 0.72rem; }
  .section { padding: 58px 0; }
  .value-grid,
  .feature-grid { grid-template-columns: 1fr; }
  .docs-section { padding: 64px 0 84px; }
  .docs-toolbar { align-items: stretch; flex-direction: column; }
  .doc-article { padding: 21px 17px; border-radius: 17px; }
  .doc-article h2 { margin-top: 58px; }
  .doc-article h3 { margin-top: 38px; }
  .footer-shell { align-items: flex-start; flex-direction: column; }
  .download-hero { padding-top: 72px; }
  .changelog-section { padding: 4px 0 64px; }
  .changelog-heading { text-align: left; }
  .changelog-timeline::before { left: 11px; }
  .changelog-entry { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; width: 100%; }
  .timeline-marker { padding-top: 17px; }
  .timeline-marker span { width: 11px; height: 11px; border-width: 2px; box-shadow: 0 0 0 4px var(--color-bg); }
  .changelog-entry.is-latest .timeline-marker span { box-shadow: 0 0 0 4px var(--color-bg), 0 0 18px rgba(101, 231, 244, 0.55); }
  .changelog-card { min-width: 0; padding: 19px 17px; }
  .version-row { align-items: flex-start; flex-direction: column; gap: 5px; }
  .notice-card { grid-template-columns: 1fr; }
  .back-to-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
