:root {
  color-scheme: dark;
  --bg: #061019;
  --bg-deep: #03080d;
  --panel: #0a151f;
  --panel-soft: #0d1924;
  --line: rgba(153, 181, 207, 0.17);
  --line-strong: rgba(107, 120, 255, 0.55);
  --text: #f5f7fb;
  --muted: #a8b6c8;
  --muted-soft: #758399;
  --blue: #5f73ff;
  --purple: #8a5dff;
  --pink: #dc55d7;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-deep); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.site-shell { min-height: 100vh; background: radial-gradient(circle at 48% 14%, rgba(34, 92, 188, .12), transparent 30%), linear-gradient(180deg, #07121c 0%, #03090e 78%); overflow: hidden; }
.page-main { width: min(calc(100% - 64px), var(--max)); margin: 0 auto; }

.topbar { height: 68px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 34px; width: min(calc(100% - 64px), var(--max)); margin: 0 auto; }
.brand {
  width: 118px;
  height: 24px;
  display: flex;
  align-items: center;
}

.brand-wordmark {
  width: 118px;
  height: auto;
  display: block;
  flex: 0 0 118px;
}
.nav-links { display: flex; gap: 30px; font-size: 13px; color: #d4dce8; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.search-button, .version-pill, .icon-button { border: 1px solid var(--line); background: rgba(9, 19, 29, .78); color: #c9d3df; border-radius: 10px; height: 38px; }
.search-button { width: 218px; display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; text-align: left; padding: 0 10px; }
.search-button span { color: #8d9aae; }
.search-button kbd { color: #7e8b9d; border: 1px solid var(--line); border-radius: 5px; padding: 3px 6px; font-size: 10px; }
.version-pill { padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; }
.icon-button { width: 38px; display: grid; place-items: center; }
.nav-icon { width: 17px; height: 17px; }
.tiny-icon { width: 13px; height: 13px; }

.hero { position: relative; display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 64px; align-items: center; min-height: 520px; padding: 62px 0 36px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(82px); pointer-events: none; }
.hero-glow-blue { width: 380px; height: 260px; background: rgba(26, 96, 255, .18); left: 28%; top: 40px; }
.hero-glow-purple { width: 340px; height: 260px; background: rgba(180, 48, 255, .16); right: -40px; top: 68px; }
.hero-copy, .editor-wrap { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 18px; color: #6f8dff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.hero h1 { margin: 0; font-size: clamp(56px, 6vw, 78px); line-height: .95; letter-spacing: -.05em; background: linear-gradient(90deg, #fff 0%, #f4f5ff 42%, #b89aff 72%, #7b63ff 100%); -webkit-background-clip: text; color: transparent; }
.hero h2 { max-width: 470px; margin: 18px 0 12px; font-size: 29px; line-height: 1.18; color: #c7d2e4; letter-spacing: -.02em; }
.hero-description { max-width: 510px; margin: 0; color: #b2bfd0; font-size: 16px; line-height: 1.55; }
.hero-actions { display: flex; gap: 18px; margin-top: 26px; }
.button { min-height: 48px; padding: 0 20px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 14px; }
.button-primary { background: linear-gradient(135deg, #5f73ff, #6c49ff); box-shadow: 0 8px 32px rgba(80, 70, 255, .28); }
.button-secondary { border: 1px solid var(--line); background: rgba(6, 14, 21, .72); }
.button-icon { width: 17px; height: 17px; }
.hero-meta { margin: 20px 0 0; color: #8f9caf; font-size: 12px; }
.hero-meta span { margin: 0 12px; }

.editor-window { border: 1px solid rgba(116, 82, 255, .7); border-radius: 11px; background: rgba(4, 12, 20, .92); box-shadow: 0 20px 70px rgba(35, 41, 150, .24), 0 0 60px rgba(183, 63, 255, .13); overflow: hidden; }
.editor-titlebar { height: 42px; display: grid; grid-template-columns: 100px 1fr 170px; align-items: center; border-bottom: 1px solid var(--line); }
.window-dots { display: flex; gap: 7px; padding-left: 16px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ff5b57; }
.window-dots i:nth-child(2) { background: #ffbd2e; }
.window-dots i:nth-child(3) { background: #28c840; }
.editor-tabs { display: flex; height: 100%; }
.editor-tabs span { min-width: 118px; display: inline-flex; align-items: center; justify-content: space-between; padding: 0 14px; border-right: 1px solid var(--line); color: #7d8b9d; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.editor-tabs .active { color: #e4ebf6; background: rgba(255,255,255,.03); }
.editor-titlebar strong { height: 100%; display: flex; align-items: center; padding-left: 16px; border-left: 1px solid var(--line); font-size: 12px; }
.editor-body { display: grid; grid-template-columns: 1fr 170px; min-height: 340px; }
.code-pane { padding: 18px 0; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 12px; line-height: 2.15; }
.code-pane > div { white-space: nowrap; }
.ln { display: inline-block; width: 44px; padding-right: 12px; text-align: right; color: #4a5a6b; margin-right: 18px; border-right: 1px solid rgba(255,255,255,.04); }
.syntax-directive { color: #65b3ff; }.syntax-type { color: #9fc4ff; }.syntax-prop { color: #90d0d8; }.syntax-value { color: #8ee6bd; }.syntax-tag { color: #ff68c5; }
.file-tree { border-left: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; color: #aeb9c7; font-size: 11px; }
.file-tree span { display: flex; align-items: center; gap: 6px; min-height: 20px; }
.file-tree .indent { padding-left: 14px; }.file-tree .indent-2 { padding-left: 32px; }
.file-tree .active-file { background: rgba(255,255,255,.055); color: #f0f3f8; border-radius: 4px; }
.tree-icon { width: 12px; height: 12px; }
.editor-caption { margin: 10px 0 0; text-align: right; color: #8793a5; font-size: 11px; }

.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.feature-item { padding: 30px 28px 32px 0; min-height: 160px; }
.feature-item + .feature-item { border-left: 1px solid var(--line); padding-left: 40px; }
.feature-icon { width: 34px; height: 34px; color: #6372ff; stroke-width: 1.75; }
.feature-item h3 { margin: 14px 0 6px; font-size: 16px; }
.feature-item p { margin: 0; color: #aebaca; font-size: 14px; line-height: 1.45; }

.project-creator { border: 1px solid var(--line); border-radius: 10px; padding: 18px 26px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 38px; align-items: center; background: linear-gradient(180deg, rgba(12,24,35,.88), rgba(8,18,27,.78)); }
.creator-copy h2 { margin: 0 0 8px; font-size: 22px; }.creator-copy p { margin: 0; color: #aab7c8; font-size: 14px; }
.package-tabs { display: flex; width: fit-content; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.package-tabs button { width: 64px; height: 32px; color: #aeb9c7; background: transparent; border: 0; border-right: 1px solid var(--line); }
.package-tabs button:last-child { border-right: 0; }.package-tabs .active { background: linear-gradient(135deg, #6a74ff, #704cff); color: white; }
.command-line { border: 1px solid var(--line); border-radius: 7px; min-height: 44px; display: flex; align-items: center; padding: 0 8px 0 18px; }
.command-line code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; color: #f1f5fb; }.copy-command { margin-left: auto; width: 34px; height: 34px; border: 0; background: transparent; color: #aeb9c7; display: grid; place-items: center; }.copy-command.copied { color: #7c8cff; }.copy-icon { width: 17px; height: 17px; }

.section-block { padding-top: 32px; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; }
.section-heading-row h2, .section-heading-simple h2 { margin: 0 0 3px; font-size: 22px; letter-spacing: -.02em; }
.section-heading-row p, .section-heading-simple p { margin: 0; color: #9fadbf; font-size: 13px; }
.section-heading-row > a { color: #7d82ff; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }.inline-icon { width: 14px; height: 14px; }
.start-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.start-card { min-height: 170px; border: 1px solid var(--line); border-radius: 8px; padding: 22px 22px 20px; position: relative; background: rgba(10,21,31,.64); }
.start-card.featured { border-color: #6d5cff; background: radial-gradient(circle at 70% 0%, rgba(89,63,213,.2), transparent 42%), rgba(18,20,55,.8); box-shadow: inset 0 0 32px rgba(75,62,210,.1); }
.start-card-icon { color: #6075ff; }.card-icon { width: 30px; height: 30px; }.start-card-arrow { position: absolute; top: 22px; right: 18px; color: #726dff; }.card-arrow-icon { width: 20px; height: 20px; }
.start-card h3 { margin: 14px 0 8px; font-size: 14px; }.start-card p { margin: 0; color: #b0bccb; font-size: 13px; line-height: 1.5; }
.docs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.docs-card { min-height: 92px; border: 1px solid var(--line); border-radius: 8px; background: rgba(10,21,31,.62); padding: 16px; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.docs-card-icon { width: 24px; height: 24px; color: #5d78ff; }.docs-card h3 { margin: 0 0 5px; font-size: 13px; }.docs-card p { margin: 0; color: #a6b3c5; font-size: 12px; line-height: 1.45; }
.section-heading-simple { margin-bottom: 16px; }
.ecosystem-section { padding-bottom: 58px; }
.ecosystem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ecosystem-card { min-height: 108px; border: 1px solid var(--line); border-radius: 8px; background: rgba(10,21,31,.62); padding: 18px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.ecosystem-mark { width: 36px; height: 36px; display: grid; place-items: center; color: #b9c8d8; }.ecosystem-mark.vscode { color: #18a3ff; }.ecosystem-mark.github { color: #f5f7fb; }.ecosystem-icon { width: 28px; height: 28px; }
.ecosystem-card h3 { margin: 0 0 5px; font-size: 13px; }.ecosystem-card p { margin: 0; color: #a6b3c5; font-size: 12px; line-height: 1.45; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 94px; width: min(calc(100% - 64px), var(--max)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brandline { display: flex; align-items: center; gap: 36px; }.footer-brandline img { width: 118px; }.footer-brandline nav { display: flex; gap: 24px; color: #aab7c6; font-size: 12px; }
.footer-meta { display: flex; align-items: center; gap: 12px; color: #9aa7b8; font-size: 11px; }.footer-meta i { width: 1px; height: 13px; background: var(--line); }.footer-icon { width: 16px; height: 16px; }.to-top { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.05); }

@media (max-width: 1050px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { max-width: 680px; }
  .feature-strip, .start-grid, .docs-grid, .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(3) { border-left: 0; }
  .project-creator { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .page-main, .topbar, .footer-inner { width: min(calc(100% - 32px), var(--max)); }
  .version-pill { display: none; }
  .search-button {
    width: 38px;
    grid-template-columns: 1fr;
    place-items: center;
    padding: 0;
  }
  .search-button span, .search-button kbd { display: none; }
  .topbar { height: 62px; }
  .hero { padding-top: 46px; min-height: auto; }
  .hero h1 { font-size: 52px; }.hero h2 { font-size: 25px; }
  .editor-body { grid-template-columns: 1fr; }.file-tree { display: none; }.editor-titlebar { grid-template-columns: 88px 1fr; }.editor-titlebar strong { display: none; }
  .feature-strip, .start-grid, .docs-grid, .ecosystem-grid { grid-template-columns: 1fr; }
  .feature-item + .feature-item { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .section-heading-row { align-items: start; gap: 18px; }.section-heading-row > a { display: none; }
  .footer-inner { padding: 28px 0; align-items: start; flex-direction: column; }.footer-brandline { flex-direction: column; align-items: start; gap: 18px; }
}
