:root {
  color-scheme: dark;
  --bg: #0b0c0d;
  --surface: #121416;
  --surface-2: #171a1d;
  --surface-3: #20242a;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.26);
  --text: #f7f8fb;
  --muted: #c4c9d0;
  --faint: #7f8790;
  --accent: #19c8ff;
  --accent-strong: #55d8ff;
  --green: #42d17d;
  --yellow: #ffd869;
  --site-header-height: 64px;
  --preview-edge-gap: 16px;
  --showcase-story-distance: 430px;
  font-family: Inter, "MiSans", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-header-height) + var(--preview-edge-gap));
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  background: #0b0c0d;
  overflow-x: clip;
  overflow-y: visible;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  height: 64px;
  margin: 0;
  padding: 0 max(32px, calc((100% - 1400px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 56px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(12, 13, 14, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.34);
}

.brand,
.site-nav,
.header-actions,
.hero-actions,
.download-button,
.login-button,
.language-button,
.download-grid a,
.security-section {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 23px;
  font-weight: 850;
}

.brand-mark {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: cover;
}

.site-nav {
  gap: 32px;
  justify-content: flex-start;
  color: rgba(247, 248, 251, 0.7);
  font-size: 15px;
}

.site-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--text);
}

.header-actions {
  gap: 12px;
  justify-content: flex-end;
}

.language-button,
.login-button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 18px;
  background: #17191c;
  color: var(--text);
  font-weight: 700;
}

.login-button {
  border-color: transparent;
  background: #f0f5f9;
  color: #111416;
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: visible;
}

.hero-section {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 118px 0 8px;
  text-align: center;
}

.hero-announcement,
.hero-section h1,
.hero-copy,
.hero-actions {
  transform: translateY(-10px);
}

.hero-announcement {
  width: fit-content;
  margin: 0 auto 34px;
  padding: 9px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #15181b;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-announcement span,
.section-heading span,
.security-section span {
  color: var(--accent-strong);
  font-weight: 850;
  letter-spacing: 0.18em;
}

.hero-section h1 {
  max-width: 1180px;
  margin: 0 auto;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 860px;
  margin: 20px auto 0;
  color: rgba(247, 248, 251, 0.76);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  width: fit-content;
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: 10px;
  margin: 48px auto 0;
}

.download-button {
  gap: 14px;
  min-width: 226px;
  min-height: 78px;
  justify-content: center;
  border-radius: 15px;
  background: #f0f5f9;
  color: #101214;
  padding: 0 28px;
  box-shadow: none;
}

.download-button strong,
.download-button small {
  display: block;
  text-align: left;
}

.download-button small {
  margin-top: 3px;
  color: #52616b;
  font-size: 13px;
}

.windows-glyph {
  width: 25px;
  height: 25px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.windows-glyph i:nth-child(1) {
  background: #42a5f5;
}

.windows-glyph i:nth-child(2) {
  background: #66bb6a;
}

.windows-glyph i:nth-child(3) {
  background: #ffca28;
}

.windows-glyph i:nth-child(4) {
  background: #ef5350;
}

.text-link {
  color: rgba(247, 248, 251, 0.72);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-showcase {
  position: relative;
  width: min(1500px, calc(100% - 48px));
  margin: 62px auto 0;
  min-height: calc(100svh - var(--site-header-height) + var(--showcase-story-distance));
  padding-bottom: 0;
  scroll-margin-top: calc(var(--site-header-height) + var(--preview-edge-gap));
}

.client-demo {
  position: sticky;
  top: calc(var(--site-header-height) + 16px);
  z-index: 9;
  width: 100%;
  height: clamp(680px, calc(100vh - var(--site-header-height) - 32px), 820px);
  height: clamp(680px, calc(100svh - var(--site-header-height) - 32px), 820px);
  max-height: calc(100svh - var(--site-header-height) - 32px);
  min-height: 0;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: #070b0e;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.client-demo * {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.client-demo *::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.client-demo.story-fixed {
  position: sticky;
  left: auto;
  width: 100%;
}

.client-demo.story-after {
  position: sticky;
  left: auto;
  right: auto;
  width: 100%;
}

.demo-titlebar {
  height: 66px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 0 12px 0 26px;
  border-bottom: 1px solid rgba(201, 214, 223, 0.1);
  background: #070b0e;
}

.demo-brand,
.demo-nav,
.demo-actions,
.demo-pane-head,
.demo-editor-pane header,
.demo-chat-pane header,
.demo-chat-controls {
  display: flex;
  align-items: center;
}

.demo-brand {
  gap: 12px;
}

.demo-brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.demo-brand strong,
.demo-brand span {
  display: block;
}

.demo-brand strong {
  color: var(--text);
  font-size: 20px;
}

.demo-brand span {
  margin-top: 5px;
  color: rgba(201, 214, 223, 0.74);
  font-size: 13px;
}

.demo-nav {
  gap: 10px;
}

.demo-nav button,
.demo-actions button,
.demo-file-pane button,
.demo-editor-tools button,
.demo-chat-pane button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.demo-nav button {
  min-height: 34px;
  border-radius: 10px;
  padding: 0 12px;
  font-weight: 800;
  font-size: 13px;
}

.demo-nav button.active,
.demo-nav button:hover {
  background: rgba(82, 97, 107, 0.72);
  border-color: rgba(201, 214, 223, 0.16);
}

.demo-actions {
  gap: 10px;
  min-width: 0;
}

.demo-search {
  min-width: 170px;
  min-height: 34px;
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border-radius: 13px;
  background: #12171b;
  color: var(--faint);
  font-size: 13px;
}

.demo-search svg,
.demo-actions button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-search span {
  min-width: 0;
}

.demo-search kbd {
  min-width: 36px;
  padding: 3px 7px;
  border-radius: 8px;
  background: #252c32;
  color: var(--muted);
  text-align: center;
}

.demo-actions button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 214, 223, 0.15);
  border-radius: 12px;
  background: #12171b;
}

.demo-actions button:last-child {
  border-radius: 50%;
  background: #52616b;
}

.demo-workspace {
  height: calc(100% - 66px);
  display: grid;
  grid-template-columns: 320px minmax(420px, 1fr) minmax(500px, 530px);
  background: #080d10;
}

.demo-file-pane,
.demo-editor-pane,
.demo-chat-pane {
  min-width: 0;
  border-top: 1px solid rgba(201, 214, 223, 0.08);
}

.demo-file-pane {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-right: 1px solid rgba(201, 214, 223, 0.1);
  background: #0d1216;
}

.demo-pane-head {
  justify-content: space-between;
  padding: 14px 12px 12px;
}

.demo-pane-head strong,
.demo-pane-head span,
.demo-workspace-card strong,
.demo-workspace-card span,
.demo-workspace-card small {
  display: block;
}

.demo-pane-head strong {
  font-size: 17px;
}

.demo-pane-head span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.demo-pane-head button,
.demo-editor-tools button,
.demo-chat-pane header button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border-color: rgba(201, 214, 223, 0.15);
  border-radius: 10px;
  background: #11171b;
  color: var(--text);
}

.demo-pane-head > div:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-pane-head button {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.demo-pane-head button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-editor-tools svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-tree {
  padding: 16px 10px 10px;
  overflow: hidden;
}

.demo-tree button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border-radius: 8px;
  margin-bottom: 6px;
  padding: 0 12px;
  color: var(--muted);
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.demo-tree button.folder {
  margin-top: 10px;
  color: #8bc4ff;
}

.demo-tree button.folder:first-child {
  margin-top: 0;
}

.demo-tree button.file {
  padding-left: 50px;
  color: #dbe9f3;
}

.demo-tree button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-tree .tree-icon,
.demo-tree .tree-chevron {
  flex: 0 0 auto;
  color: #64b5ff;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-tree .tree-icon {
  width: 18px;
  height: 18px;
}

.demo-tree button.file .tree-icon {
  width: 17px;
  height: 17px;
}

.demo-tree .tree-chevron {
  width: 13px;
  height: 13px;
  margin-right: -2px;
  stroke-width: 2;
}

.demo-tree button.active,
.demo-tree button:hover {
  background: #20282e;
  color: var(--text);
}

.demo-tree button.file.active {
  color: #f0f5f9;
}

.demo-workspace-card {
  margin: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #171d22;
}

.demo-workspace-card strong {
  margin-bottom: 8px;
}

.demo-workspace-card span,
.demo-workspace-card small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.demo-workspace-card i {
  display: block;
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fb7185, #86efac, #60a5fa, #c084fc);
}

.demo-editor-pane {
  display: grid;
  grid-template-rows: 48px 1fr;
  border-right: 1px solid rgba(201, 214, 223, 0.1);
  background: #080d10;
}

.demo-editor-pane header {
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgba(201, 214, 223, 0.11);
}

.demo-editor-pane header strong,
.demo-editor-pane header span {
  display: block;
}

.demo-editor-pane header span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.demo-editor-tools {
  display: flex;
  gap: 8px;
}

.demo-code {
  overflow-x: hidden;
  overflow-y: auto;
  background: #070c0f;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.demo-code::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.demo-code ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: line;
  width: 100%;
  min-width: 0;
  font: 13px/1.62 "JetBrains Mono", Consolas, monospace;
}

.demo-code li {
  width: 100%;
  min-width: 0;
  min-height: 22px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  counter-increment: line;
  align-items: start;
  white-space: pre-wrap;
}

.demo-code li::before {
  content: counter(line);
  padding-right: 10px;
  color: #7d8b96;
  text-align: right;
  background: rgba(201, 214, 223, 0.04);
}

.demo-code li code {
  display: block;
  min-width: 0;
  max-width: 100%;
  padding-left: 12px;
  padding-right: 24px;
  color: #f0f5f9;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: pre-wrap;
}

.comment {
  color: #8fa3ad;
  font-style: italic;
}

.keyword {
  color: #7dd3fc;
  font-weight: 700;
}

.type-identifier {
  color: #93c5fd;
  font-weight: 700;
}

.attribute-name {
  color: #c4b5fd;
}

.operator {
  color: #f0f5f9;
}

.string {
  color: #86efac;
}

.number {
  color: #fbbf24;
}

.delimiter {
  color: #c9d6df;
}

.identifier {
  color: #67e8f9;
}

.demo-chat-pane {
  display: grid;
  grid-template-rows: 48px minmax(0, 1fr) 142px;
  background: #101214;
  overflow: visible;
}

.demo-chat-pane header {
  justify-content: space-between;
  padding: 0 14px 0 18px;
  border-bottom: 1px solid rgba(201, 214, 223, 0.11);
  min-width: 0;
  background: rgba(16, 18, 20, 0.98);
}

.demo-chat-pane header strong,
.demo-chat-pane header span {
  display: block;
}

.demo-chat-pane header span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.demo-chat-pane header div:last-child,
.demo-chat-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 8px;
  margin-left: auto;
}

.demo-chat-tools button {
  width: 30px;
  height: 30px;
  min-height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border-color: rgba(201, 214, 223, 0.16);
  border-radius: 10px;
  background: rgba(30, 32, 34, 0.72);
  color: #f0f5f9;
  box-shadow: none;
}

.demo-chat-tools button:hover {
  border-color: rgba(201, 214, 223, 0.26);
  background: rgba(82, 97, 107, 0.28);
}

.demo-chat-tools svg,
.welcome-title svg,
.quick-action svg,
.send-button svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-chat-tools svg {
  width: 16px;
  height: 16px;
}

.demo-chat-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  padding: 18px 26px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.demo-chat-body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.assistant-welcome {
  height: 100%;
  display: grid;
  align-content: start;
  gap: 10px;
  background: transparent;
}

.welcome-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 214, 223, 0.12);
}

.welcome-title svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: #f0f5f9;
}

.welcome-title h2 {
  margin: 0;
  color: #f0f5f9;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
}

.welcome-title p {
  margin: 6px 0 0;
  color: #c9d6df;
  font-size: 13px;
  line-height: 1.35;
}

.quick-action-list {
  display: grid;
  gap: 7px;
}

.quick-action {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin: 0;
  padding: 8px 16px;
  border-color: rgba(201, 214, 223, 0.12) !important;
  border-radius: 14px;
  background: rgba(30, 32, 34, 0.66) !important;
  color: var(--text) !important;
  text-align: left;
  box-shadow: none;
}

.quick-action:hover {
  border-color: rgba(201, 214, 223, 0.2) !important;
  background: rgba(82, 97, 107, 0.2) !important;
}

.quick-action svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: #3b82f6;
}

.quick-action span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.quick-action strong {
  color: #f0f5f9 !important;
  font-size: 15px;
  line-height: 1.2;
}

.quick-action small {
  color: #c9d6df !important;
  font-size: 13px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-message-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: flex-end;
  margin-top: auto;
  padding: 2px 0 2px;
}

.demo-chat-body .chat-turn,
.demo-chat-body .user-message-row,
.demo-chat-body .message,
.demo-chat-body .process-fold {
  animation: demoChatIn 260ms ease both;
}

.demo-chat-body .user-message-row {
  width: 100%;
  display: block;
  margin: 4px 0 2px;
  text-align: right;
}

.demo-chat-body .user-message-bubble {
  display: inline-block;
  max-width: min(88%, 420px);
  margin-left: auto;
  padding: 0;
  background: transparent;
}

.demo-chat-body .user-message-text {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(201, 214, 223, 0.12);
  border-radius: 17px;
  background: #2b2f34;
  color: #f0f5f9;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.demo-chat-body .message.assistant {
  width: 100%;
  padding: 4px 0 8px;
  border: 0;
  background: transparent;
  color: #f0f5f9;
}

.demo-chat-body .message.assistant > strong {
  display: none;
}

.demo-chat-body .message-rich-text {
  display: grid;
  gap: 10px;
}

.demo-chat-body .message-rich-text p,
.demo-chat-body .message-rich-text ul {
  margin: 0;
  color: rgba(240, 245, 249, 0.94);
  font-size: 14px;
  line-height: 1.66;
}

.demo-chat-body .message-rich-text ul {
  display: grid;
  gap: 7px;
  padding-left: 18px;
  color: rgba(201, 214, 223, 0.86);
}

.demo-chat-body .message-rich-text b {
  color: #f0f5f9;
}

.demo-chat-body .process-fold {
  margin: 0;
  border: 0;
  background: transparent;
  color: rgba(201, 214, 223, 0.68);
}

.demo-chat-body .process-fold summary,
.demo-chat-body .process-fold .process-summary-row {
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 7px;
  color: rgba(201, 214, 223, 0.68);
  list-style: none;
}

.demo-chat-body .process-fold summary::after,
.demo-chat-body .process-fold .process-summary-row::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(201, 214, 223, 0.12);
}

.demo-chat-body .process-status {
  color: rgba(240, 245, 249, 0.78);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.demo-chat-body .process-summary {
  color: rgba(201, 214, 223, 0.62);
  font-size: 12px;
  white-space: nowrap;
}

.demo-chat-body .thinking-dots {
  width: 34px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 10px;
  background: rgba(82, 97, 107, 0.26);
}

.demo-chat-body .thinking-dots i {
  width: 5px;
  height: 5px;
  display: block;
  border-radius: 50%;
  background: #76abae;
  animation: thinkingPulse 1.1s ease-in-out infinite;
}

.demo-chat-body .thinking-dots i:nth-child(2) {
  animation-delay: 120ms;
}

.demo-chat-body .thinking-dots i:nth-child(3) {
  animation-delay: 240ms;
}

.demo-chat-body .analysis-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.demo-chat-body .analysis-pill-row span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(201, 214, 223, 0.12);
  border-radius: 999px;
  background: rgba(82, 97, 107, 0.18);
  color: rgba(201, 214, 223, 0.9);
  font-size: 12px;
  font-weight: 800;
  padding: 0 10px;
}

@keyframes thinkingPulse {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.42;
  }

  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes demoChatIn {
  from {
    transform: translateY(8px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.demo-chat-pane footer {
  position: relative;
  z-index: 80;
  padding: 12px 14px;
  border-top: 1px solid rgba(201, 214, 223, 0.11);
  background: rgba(16, 18, 20, 0.98);
  overflow: visible;
}

.demo-prompt-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  grid-template-rows: 62px 36px;
  gap: 8px;
}

.demo-chat-pane textarea {
  grid-column: 1 / -1;
  width: 100%;
  height: 62px;
  min-height: 62px;
  max-height: 62px;
  resize: none;
  overflow: hidden;
  border: 1px solid rgba(201, 214, 223, 0.12);
  border-radius: 12px;
  background: rgba(30, 32, 34, 0.66);
  color: #d7e6ef;
  padding: 9px 12px;
  font: 14px/1.5 Inter, "MiSans", "Microsoft YaHei", system-ui, sans-serif;
  white-space: normal;
  outline: none;
  box-shadow: none;
}

.demo-chat-pane textarea::placeholder {
  color: #8fa3b1;
  opacity: 1;
}

.demo-chat-controls {
  grid-column: 1;
  grid-row: 2;
  justify-content: flex-start;
  gap: 7px;
  margin-top: 0;
  position: relative;
  min-height: 36px;
  flex-wrap: nowrap;
  overflow: visible;
}

.composer-pill,
.send-button {
  min-width: 0;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(201, 214, 223, 0.12);
  border-radius: 999px;
  background: rgba(30, 32, 34, 0.66);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 0 9px;
  white-space: nowrap;
  box-shadow: none;
}

.composer-pill > span:first-child {
  min-width: 0;
  max-width: 94px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.composer-pill svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  fill: none;
  stroke: #c9d6df;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.composer-pill:hover,
.composer-select.open > .composer-pill,
.send-button:hover {
  border-color: rgba(201, 214, 223, 0.25);
  background: #192024;
}

.status-pill {
  cursor: default;
  padding-inline: 8px;
}

.composer-select {
  position: relative;
}

.model-select .composer-pill > span:first-child {
  max-width: 92px;
}

.model-select .composer-menu {
  left: auto;
  right: -44px;
  transform: none;
}

.model-menu {
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.model-menu::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.send-button {
  grid-column: 2;
  grid-row: 2;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  justify-content: center;
  align-self: center;
  justify-self: end;
  margin: -5px 0 0;
  border-radius: 14px;
  padding: 0;
  position: relative;
  background: rgba(82, 97, 107, 0.28);
}

.send-button svg {
  width: 16px;
  height: 16px;
  color: #f0f5f9;
}

.composer-menu {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 120;
  width: 392px;
  transform: translateX(-50%);
  display: grid;
  gap: 5px;
  padding: 11px;
  border: 1px solid rgba(201, 214, 223, 0.15);
  border-radius: 15px;
  background: #1b2023;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.composer-menu[hidden] {
  display: none !important;
}

.composer-menu.small {
  width: 122px;
}

.composer-menu strong {
  padding: 4px 7px 5px;
  color: #bdd0dc;
  font-size: 12px;
  line-height: 1.2;
}

.composer-menu button {
  min-height: 33px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 8px;
  background: #272e32;
  color: var(--text);
  font: inherit;
  font-size: 12.5px;
  font-weight: 850;
  padding: 0 10px;
  gap: 12px;
}

.composer-menu button:hover,
.composer-menu button.selected {
  background: #333b40;
}

.composer-menu button span {
  color: var(--muted);
  font-size: 11px;
}

.composer-menu button.selected::after {
  content: "✓";
  margin-left: auto;
  color: #dce8ef;
  font-size: 14px;
  line-height: 1;
}

.model-menu button.selected::after {
  display: none;
}

.demo-chat-pane textarea.pulse {
  border-color: rgba(118, 171, 174, 0.42);
  background: rgba(118, 171, 174, 0.08);
}

.demo-chat-pane textarea::-webkit-scrollbar {
  display: none;
}

.demo-page-panel {
  height: calc(100% - 66px);
  padding: 72px;
  background: #080d10;
}

.demo-page-panel h3 {
  margin: 0 0 12px;
  font-size: 34px;
}

.demo-page-panel p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.plans-section,
.features-section,
.downloads-section {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 56px 0 64px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  scroll-margin-top: calc(var(--site-header-height) + 18px);
}

.plans-section {
  position: relative;
  z-index: 8;
  margin-top: 0;
  padding-top: 86px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.plans-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc((100% - 100vw) / 2);
  background: #0b0c0d;
}

.plans-section > * {
  position: relative;
  z-index: 1;
}

.features-section,
.security-section,
.downloads-section {
  opacity: 1;
  transform: none;
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.features-section.is-visible,
.security-section.is-visible,
.downloads-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2,
.security-section h2 {
  margin: 14px 0 0;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p,
.security-section p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(247, 248, 251, 0.72);
  font-size: 15px;
  line-height: 1.8;
}

.plans-grid,
.feature-grid,
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.plan-card,
.feature-card,
.download-grid article {
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #121416;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.plan-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 28px 28px 26px;
  background: #111315;
}

.plan-card.featured {
  border-color: rgba(85, 216, 255, 0.36);
  background:
    linear-gradient(180deg, #182227, #111416 52%),
    #111416;
}

.plan-card.premium {
  border-color: rgba(255, 216, 105, 0.46);
  background:
    linear-gradient(180deg, #302717, #121315 45%),
    #121315;
}

.plan-topline {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.plan-eyebrow,
.plan-card p,
.plan-card li {
  color: var(--muted);
}

.plan-eyebrow {
  font-size: 14px;
}

.plan-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0 13px;
  background: #2a3035;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.plan-badge.gold {
  border-color: rgba(255, 216, 105, 0.54);
  background: #3b3117;
  color: #ffe783;
}

.plan-card h3,
.feature-card h3,
.download-grid h3 {
  margin: 14px 0 16px;
  font-size: 29px;
  line-height: 1.1;
}

.plan-card p {
  min-height: 48px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 26px 0 14px;
}

.plan-price strong {
  display: block;
  color: var(--text);
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0;
}

.plan-price span {
  color: rgba(247, 248, 251, 0.74);
  font-size: 15px;
  font-weight: 700;
}

.premium .plan-price strong {
  color: #ffe783;
}

.plan-quota {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 850;
}

.plan-quota::before {
  content: "✦";
  color: var(--accent-strong);
  font-size: 18px;
}

.premium .plan-quota::before {
  color: #ffe783;
}

.plan-card ul {
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  list-style: none;
}

.plan-card li {
  margin-bottom: 13px;
}

.plan-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--accent-strong);
}

.feature-card {
  min-height: 410px;
  padding: 0;
  overflow: hidden;
}

.feature-visual {
  height: 220px;
  border-bottom: 1px solid var(--line);
}

.command-block {
  background:
    linear-gradient(90deg, rgba(157, 216, 220, 0.08) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(rgba(157, 216, 220, 0.08) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(circle at 50% 50%, rgba(118, 171, 174, 0.38), transparent 34%),
    #15181b;
}

.file-graph {
  background:
    radial-gradient(circle at 26% 36%, #76abae 0 8px, transparent 9px),
    radial-gradient(circle at 54% 52%, #c9d6df 0 8px, transparent 9px),
    radial-gradient(circle at 75% 28%, #ffd869 0 8px, transparent 9px),
    linear-gradient(145deg, rgba(82, 97, 107, 0.26), rgba(16, 18, 20, 0.9));
}

.usage-chart {
  background:
    linear-gradient(90deg, transparent 15%, rgba(118, 171, 174, 0.7) 15% 24%, transparent 24%),
    linear-gradient(90deg, transparent 38%, rgba(201, 214, 223, 0.56) 38% 47%, transparent 47%),
    linear-gradient(90deg, transparent 62%, rgba(255, 216, 105, 0.62) 62% 71%, transparent 71%),
    linear-gradient(180deg, transparent 0 30%, rgba(82, 97, 107, 0.18) 30% 100%),
    #15181b;
}

.feature-card h3,
.feature-card p {
  padding: 0 28px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.8;
}

.security-section {
  width: min(1320px, calc(100% - 64px));
  min-height: calc(100svh - var(--site-header-height));
  margin: 0 auto;
  justify-content: space-between;
  gap: 80px;
  padding: 44px;
  border: 1px solid rgba(118, 171, 174, 0.26);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(118, 171, 174, 0.16), rgba(32, 37, 42, 0.72)),
    rgba(23, 26, 29, 0.82);
}

.security-section p {
  max-width: 620px;
}

.download-heading {
  margin-bottom: 42px;
  text-align: center;
}

.download-heading span {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.download-heading h2 {
  margin: 14px 0 0;
  font-size: 30px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.download-lite-button {
  min-width: 168px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: #17191c;
  color: rgba(247, 248, 251, 0.48);
  cursor: not-allowed;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
}

.site-footer {
  width: min(1320px, calc(100% - 64px));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--faint);
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

@media (max-width: 900px) {
  body {
    min-width: 0;
  }

  .site-header,
  .hero-section,
  .product-showcase,
  .plans-section,
  .features-section,
  .downloads-section,
  .security-section,
  .site-footer {
    width: min(100% - 28px, 760px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions,
  .security-section,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .client-demo {
    height: auto;
  }

  .demo-workspace,
  .plans-grid,
  .feature-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .demo-chat-pane {
    display: none;
  }

  .demo-file-pane {
    display: none;
  }

  .demo-titlebar {
    grid-template-columns: 1fr;
    height: auto;
    padding: 18px;
  }

  .demo-nav,
  .demo-actions {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .product-showcase {
    margin-top: 42px;
  }

  .client-demo {
    height: calc(100svh - var(--site-header-height) - 28px);
    max-height: calc(100svh - var(--site-header-height) - 28px);
  }
}
