:root {
  color-scheme: dark;
  --bg: #151321;
  --panel: #201c31;
  --line: #3e3753;
  --text: #f6f2ff;
  --muted: #c2b9d3;
  --accent: #c9afff;
  --button: #e1d1ff;
  --button-text: #231638;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 system-ui, "Microsoft YaHei", sans-serif; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1140px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; z-index: 1; top: 12px; left: 12px; transform: translateY(-180%); padding: 10px; background: var(--button); color: var(--button-text); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 730; text-decoration: none; white-space: nowrap; }
nav { display: flex; gap: 30px; }
nav a, .header-download { font-size: 14px; text-decoration: none; }
nav a { color: var(--muted); }
.header-download { color: var(--accent); font-weight: 650; white-space: nowrap; }
nav a:hover, .header-download:hover { text-decoration: underline; }
.product-switch { flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.product-switch > * { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.product-switch [aria-current="page"] { color: var(--accent); background: var(--panel); font-weight: 650; }
.product-switch a:hover { border-color: var(--accent); }

.hero { padding: clamp(54px, 9vw, 112px) 0; background: radial-gradient(ellipse at 75% 42%, #34234c 0, transparent 58%); }
.hero-grid { display: grid; grid-template-columns: .91fr 1.09fr; gap: clamp(36px, 5.5vw, 76px); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 13px; font-weight: 680; letter-spacing: .12em; }
.status-dot { width: 7px; height: 7px; border-radius: 100%; background: var(--accent); box-shadow: 0 0 12px #c9afff80; }
h1 { margin: 17px 0 19px; font-size: clamp(40px, 5.2vw, 70px); line-height: 1.13; letter-spacing: -.055em; }
.hero-description { max-width: 345px; margin-bottom: 28px; font-size: clamp(16px, 1.7vw, 19px); color: var(--muted); }
.download { display: inline-flex; align-items: center; gap: 11px; min-height: 53px; border-radius: 10px; padding: 11px 20px; background: var(--button); color: var(--button-text); font-weight: 740; text-decoration: none; }
.download:hover { background: #f2e8ff; }
.release { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 5px 13px; color: var(--muted); font-size: 13px; }
.release a { color: var(--accent); }

.preview { overflow: hidden; border: 1px solid #635279; border-radius: 16px; background: #211a30; box-shadow: 0 25px 50px #0b08136e; }
.preview a, .preview img { display: block; }
.preview img { width: 100%; height: auto; }
.preview a:focus-visible { outline-offset: -4px; }
figcaption { padding: 8px 14px; color: #d1c3e5; font-size: 11px; text-align: right; }

.section { padding: clamp(47px, 7.6vw, 90px) 0; border-top: 1px solid var(--line); }
.section-heading h2 { margin-top: 8px; font-size: clamp(27px, 3.4vw, 43px); line-height: 1.24; letter-spacing: -.035em; }
.workflows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.workflows article { border-top: 1px solid var(--line); padding: 17px 0 0; }
.index { color: var(--accent); font: 14px/1.4 ui-monospace, monospace; }
h3 { margin: 7px 0 6px; font-size: 19px; line-height: 1.4; }
.workflows p, .intro, .steps p, .faq p { color: var(--muted); }
.getting-started { background: var(--panel); }
.start-grid, .faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 6vw, 72px); align-items: start; }
.intro { margin-top: 14px; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 0 0 18px; counter-increment: step; }
.steps li + li { border-top: 1px solid var(--line); padding-top: 18px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #35274d; color: var(--accent); content: counter(step); font-size: 14px; }
.steps h3 { margin-top: 0; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 670; }
.faq p { margin-top: 10px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.site-footer a { color: var(--accent); }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .preview { max-width: 580px; }
  h1 { font-size: clamp(39px, 8vw, 65px); }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner, .footer-inner { min-height: 62px; gap: 10px; }
  .header-inner nav { display: none; }
  .brand { font-size: 15px; gap: 6px; }
  .brand img { width: 28px; height: 28px; }
  .header-download { font-size: 12px; }
  .workflows, .start-grid, .faq-grid { grid-template-columns: 1fr; }
  .workflows { gap: 18px; margin-top: 24px; }
  .workflows article { display: grid; grid-template-columns: 27px 1fr; gap: 9px; }
  .workflows h3 { margin-top: 0; }
}

