:root {
  --bg: #151513;
  --panel: #1d1d1a;
  --panel-raised: #252520;
  --ink: #f0eee6;
  --muted: #a5a49b;
  --line: #34342e;
  --accent: #d8c8a8;
  --font:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --max: 1080px;
  color-scheme: dark;
  --brand: #a7afff;
  --brand-gradient: linear-gradient(100deg, #78a7ff, #b09cff);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
ul {
  margin: 0;
  padding: 0;
}
::selection {
  background: #736951;
  color: #fff;
}
.container {
  width: min(var(--max), calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 20;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 999px;
}
.skip-link:focus {
  top: 20px;
}
html.i18n-pending body {
  visibility: hidden;
}
html[lang="zh-CN"] [data-lang-only="en"],
html:not([lang="zh-CN"]) [data-lang-only="zh"] {
  display: none;
}

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 21px;
  line-height: 1.2;
  font-size: 14px;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-1px);
}
.button.primary {
  background: var(--ink);
  color: #22221d;
}
.button.primary:hover {
  background: #fff;
}
.button.ghost {
  border: 1px solid var(--line);
  color: #d7d5cc;
}
.button.ghost:hover {
  border-color: #666657;
  background: var(--panel-raised);
}
.button.small {
  padding: 9px 17px;
  font-size: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(21 21 19 / 94%);
  border-bottom: 1px solid rgb(240 238 230 / 6%);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(var(--max), calc(100% - 80px));
  margin: auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.brand img {
  border-radius: 6px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: #ceccc3;
}
.nav-links a:hover {
  color: #fff;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 36px;
  gap: 2px;
  margin-inline-start: 6px;
}
.lang-separator {
  color: #66665e;
  font-size: 11px;
}
.lang-switch button {
  min-width: 28px;
  height: 36px;
  padding: 0 5px;
  border-radius: 4px;
  color: #8d8c83;
  font-size: 12px;
  transition: color 0.2s;
}
.lang-switch button:hover {
  color: var(--ink);
}
.lang-switch button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 600;
}
.lang-switch button:focus-visible {
  outline-offset: 1px;
}

.hero {
  padding: 72px 0 36px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 6px 12px;
  border: 1px solid rgb(167 175 255 / 28%);
  border-radius: 999px;
  background: rgb(167 175 255 / 8%);
  color: #c5cbff;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}
.hero-lead {
  max-width: 36em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-demo {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0e0e10;
  box-shadow: 0 28px 60px -36px rgb(0 0 0 / 70%);
}
.hero-demo iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: #0e0e10;
}

.section-intro {
  margin-bottom: 28px;
}
.section-intro h2 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
.section-intro > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
  max-width: 40em;
}

.features {
  padding: 48px 0 12px;
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 36px;
  padding: 26px;
  margin-bottom: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  scroll-margin-top: 90px;
}
.feature-reverse {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
}
.feature-reverse .feature-copy {
  order: 2;
}
.feature-reverse .feature-demo {
  order: 1;
}
.feature-copy {
  padding: 8px 4px;
}
.eyebrow {
  color: #b7b4ff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.feature-copy .eyebrow {
  margin-bottom: 14px;
}
.feature-copy h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.feature-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  max-width: 34em;
}
.feature-list {
  list-style: none;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #c8c6bc;
}
.feature-list li {
  position: relative;
  padding-left: 14px;
}
.feature-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8a9379;
  position: absolute;
  left: 0;
  top: 0.65em;
}

.feature-demo {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 11;
  border: 1px solid #424439;
  border-radius: 14px;
  overflow: hidden;
  background: #0e0e10;
  box-shadow: 0 12px 35px rgb(0 0 0 / 28%);
}
.feature-demo iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: #0e0e10;
}
.feature-demo-compact {
  /* presentations grid: aspect-ratio lives on .feature-demo */
}

.presentations {
  padding: 40px 0 24px;
}
.presentation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
.presentation-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}
.presentation-card .feature-demo {
  margin-bottom: 18px;
}
.presentation-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.presentation-card > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 4px;
}
.closing-line {
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid rgb(167 175 255 / 18%);
  background: rgb(167 175 255 / 6%);
  color: #d7d8ef;
  font-size: 14px;
  line-height: 1.7;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
  padding: 56px 0 72px;
}
.download-section h2 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}
.download-note {
  color: var(--muted);
  line-height: 1.7;
  max-width: 34em;
}
.download-options {
  display: grid;
  gap: 14px;
}
.download-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}
.download-platform-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #ced9bd;
}
.download-copy {
  flex: 1;
  min-width: 0;
}
.download-card strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
}
.download-card small {
  font-size: 12px;
  color: #b1b7a6;
}
.download-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.download-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 15px 8px 12px;
  background: var(--ink);
  color: #22221d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.download-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 22px;
}
.download-card:hover .download-primary,
.download-primary:focus-visible {
  background: #fff;
  box-shadow: 0 0 0 4px rgb(206 217 189 / 22%);
}
.download-glyph {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.download-primary:focus-visible {
  outline: none;
}
.download-card:has(.download-primary:focus-visible) {
  outline: 2px solid #ced9bd;
  outline-offset: 3px;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 30px 0 36px;
  border-top: 1px solid var(--line);
  color: #8f9484;
  font-size: 11px;
}
.site-footer .brand {
  font-size: 13px;
  color: #d3d8c6;
}
.site-footer > div {
  margin-left: auto;
  display: flex;
  gap: 25px;
}
.site-footer a:hover {
  color: var(--ink);
}

@media (max-width: 900px) {
  .container,
  .header-inner {
    width: min(var(--max), calc(100% - 40px));
  }
  .nav-links {
    display: none;
  }
  .hero-layout,
  .feature,
  .feature-reverse,
  .presentation-grid,
  .download-section {
    grid-template-columns: 1fr;
  }
  .feature-reverse .feature-copy,
  .feature-reverse .feature-demo {
    order: initial;
  }
  .hero {
    padding-top: 48px;
  }
  .hero-demo {
    min-height: 220px;
    order: -1;
  }
  .feature {
    gap: 20px;
    padding: 18px;
  }
  .download-card {
    flex-wrap: wrap;
  }
}
