:root {
  color-scheme: dark;
  --bg: #06070d;
  --bg-2: #0b0c17;
  --bg-3: #111226;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(54, 125, 255, 0.35);
  --text: #eef0f6;
  --muted: #b4b8c8;
  --muted-2: #7a8099;
  --soft: #dbeafe;
  --blue: #367dff;
  --blue-deep: #2563eb;
  --brand-glow: rgba(54, 125, 255, 0.35);
  --cyan: #60a5fa;
  --green: #22c55e;
  --orange: #fb923c;
  --nav-h: 68px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --container: 1200px;
  --shadow-card: 0 30px 80px rgba(0, 0, 0, 0.5);
  --shadow-hero: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(54, 125, 255, 0.22), transparent 34%),
    radial-gradient(circle at 84% 12%, rgba(96, 165, 250, 0.14), transparent 28%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 46%, #05060b 100%);
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.36;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 92%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 max(22px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid transparent;
  background: rgba(6, 7, 13, 0.7);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(6, 7, 13, 0.92);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand strong {
  font-size: 17px;
  letter-spacing: -0.3px;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle-icon {
  position: relative;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-icon::before {
  top: -6px;
}

.menu-toggle-icon::after {
  top: 6px;
}

.site-header.menu-open .menu-toggle-icon {
  background: transparent;
}

.site-header.menu-open .menu-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.menu-open .menu-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

nav a {
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

nav a:not(.login-link)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

nav a:not(.login-link):hover::after {
  transform: scaleX(1);
}

.login-link {
  border: 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 30px rgba(54, 125, 255, 0.25);
  cursor: pointer;
  font: inherit;
}

.login-form {
  display: inline-flex;
  margin: 0;
}

.danmaku-layer {
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  left: 0;
  right: 0;
  z-index: 18;
  height: 76px;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.danmaku-layer.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.danmaku-item {
  position: absolute;
  right: -360px;
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 9px;
  border: 1px solid rgba(54, 125, 255, 0.36);
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  background: rgba(54, 125, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 22px rgba(0, 0, 0, 0.2);
  animation: danmakuFly linear forwards;
  will-change: transform;
}

.danmaku-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(54, 125, 255, 0.14);
  animation: pulse 2s infinite;
}

@keyframes danmakuFly {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100vw - 520px));
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.82);
  }
}

main {
  width: min(var(--container), calc(100% - 44px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: 54px;
  padding: calc(var(--nav-h) + 86px) 0 132px;
  overflow: visible;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.tagline {
  margin-bottom: 20px;
  color: var(--soft);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 900;
}

.hero-text,
.section-head p,
.model-ecosystem p,
.download-copy p,
.workflow-lanes p,
.feature-matrix p,
.agent-stack p,
.solutions-section p,
.changelog-section p {
  max-width: 690px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.proof-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.proof-pills span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--soft);
  font-size: 13px;
  font-weight: 760;
  background: var(--panel);
}

.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.download-copy .beta-trust-note {
  margin-top: 16px;
  max-width: 720px;
  padding-left: 12px;
  border-left: 3px solid #f0a33a;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.65;
}

.beta-trust-note a {
  color: var(--blue);
  font-weight: 700;
}

.primary,
.secondary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 30px rgba(54, 125, 255, 0.35);
}

.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--panel);
}

.primary:hover,
.secondary:hover,
.floating-download:hover,
.float-tools a:hover {
  transform: translateY(-2px);
}

.primary:active,
.secondary:active,
.floating-download:active,
.float-tools a:active {
  transform: translateY(0) scale(0.98);
}

.hero-stage {
  position: relative;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--bg-2);
  box-shadow: var(--shadow-hero);
}

.hero-stage img,
.hero-stage video,
.download-preview img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.hero-stage video {
  aspect-ratio: 16 / 9;
  background: #05070c;
  object-fit: cover;
}

.hero-stage.video-expanded {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 2vw, 24px);
  border: 0;
  border-radius: 0;
  background: #000;
}

.hero-stage.video-expanded video {
  min-height: 0;
  max-height: calc(100dvh - 92px);
  aspect-ratio: auto;
  object-fit: contain;
}

.hero-stage.video-expanded .stage-note {
  flex: 0 0 auto;
  background: rgba(6, 7, 13, 0.96);
}

body.video-overlay-open {
  overflow: hidden;
}

.stage-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: #eaf2ff;
  background: rgba(6, 7, 13, 0.76);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.stage-note-copy {
  display: grid;
  gap: 5px;
}

.stage-note span {
  color: var(--muted);
  font-size: 13px;
}

.video-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.video-control {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 10px;
  color: #eaf2ff;
  background: rgba(54, 125, 255, 0.12);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.video-control:hover,
.video-control:focus-visible {
  border-color: rgba(96, 165, 250, 0.72);
  background: rgba(54, 125, 255, 0.22);
}

.video-control:active {
  transform: scale(0.97);
}

.video-control[aria-pressed="true"] {
  border-color: rgba(34, 197, 94, 0.55);
  background: rgba(34, 197, 94, 0.14);
}

.product-band,
.model-ecosystem,
.download-section,
.feature-matrix,
.agent-stack,
.solutions-section,
.security-section,
.changelog-section {
  margin: 0 0 88px;
  padding: clamp(38px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    var(--bg-2);
  box-shadow: var(--shadow-card);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: -84px 0 96px;
}

.stats-row article {
  min-height: 118px;
  padding: 28px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 7, 13, 0.92);
  text-align: center;
}

.stats-row strong {
  display: block;
  margin-bottom: 14px;
  color: var(--text);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.stats-row span {
  color: var(--muted-2);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.section-head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  margin: 0 auto 38px;
  max-width: 860px;
}

.section-head .eyebrow {
  margin-bottom: 2px;
}

.section-head h2 {
  max-width: 760px;
  margin-bottom: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 720px;
  margin: 0 auto;
}

.workflow-lanes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.workflow-lanes article {
  min-height: 218px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.workflow-lanes span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--blue);
  font-family: Consolas, "JetBrains Mono", monospace;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.workflow-lanes h3,
.feature-grid h3 {
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.25;
}

.workflow-lanes p,
.feature-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.feature-grid article {
  min-height: 220px;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-grid b,
.agent-rail span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-family: Consolas, "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.agent-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.agent-rail::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.58), transparent);
}

.agent-rail article {
  position: relative;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 10, 18, 0.74);
}

.agent-rail b {
  display: block;
  margin-bottom: 12px;
  font-size: 19px;
}

.model-ecosystem {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  overflow: hidden;
}

.model-ecosystem h2 em {
  color: #60a5fa;
  font-style: normal;
}

.model-count {
  align-self: center;
  text-align: right;
}

.model-count strong {
  display: block;
  color: #dbeafe;
  font-family: Consolas, "JetBrains Mono", monospace;
  font-size: clamp(72px, 11vw, 140px);
  line-height: 0.82;
}

.model-count span {
  color: var(--blue);
}

.model-count small {
  color: #7f8aa3;
  font-family: Consolas, "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.model-tabs {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 8px;
  border-top: 1px dashed rgba(148, 163, 184, 0.16);
}

.model-tabs button {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  color: #cbd5e1;
  font-family: Consolas, "JetBrains Mono", monospace;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.model-tabs button:hover {
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(96, 165, 250, 0.56);
}

.model-tabs button.active {
  color: #bfdbfe;
  border-color: rgba(59, 130, 246, 0.72);
  background: rgba(37, 99, 235, 0.14);
}

.model-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.model-grid article {
  min-height: 94px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.model-grid article.is-hidden {
  display: none;
}

.model-grid article:hover,
.feature-grid article:hover,
.workflow-lanes article:hover,
.agent-rail article:hover,
.security-list article:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.36);
}

.model-grid b {
  display: block;
  margin-bottom: 14px;
}

.model-grid small {
  color: #7f8aa3;
  font-family: Consolas, "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
}

.model-grid article p {
  margin: 12px 0 0;
  color: #aab6cc;
  font-size: 13px;
  line-height: 1.65;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1fr);
  gap: 42px;
  align-items: center;
}

.download-preview {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.download-preview figcaption {
  padding: 14px 4px 2px;
  color: #9fb0ca;
  font-size: 13px;
}

.solutions-section {
  overflow: hidden;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.solution-tags span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.035);
}

.security-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(460px, 1fr);
  gap: 34px;
  align-items: start;
}

.security-list {
  display: grid;
  gap: 10px;
}

.security-list article {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.security-list b {
  color: #dbeafe;
}

.security-list span {
  color: #9fb0ca;
  line-height: 1.7;
}

.release-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.release-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-family: Consolas, "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 900;
}

.release-card b {
  display: block;
  font-size: 22px;
}

.release-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.9;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.float-panel {
  position: fixed;
  right: 28px;
  bottom: 22px;
  z-index: 30;
  width: min(282px, calc(100vw - 44px));
  display: grid;
  gap: 10px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.float-panel.is-tucked {
  transform: translate3d(0, calc(100% - 70px), 0);
  opacity: 0.88;
}

.float-tools {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.float-tools a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 50%;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.82);
  transition: transform 0.18s ease;
}

.support-card {
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.92);
  box-shadow: 0 22px 64px rgba(2, 6, 23, 0.44);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.support-card b {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.support-card i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.support-card p {
  margin: 12px 0 8px;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.65;
}

.support-card small {
  color: #8ea0bd;
  font-size: 12px;
}

.qr-box {
  width: 142px;
  height: 142px;
  margin: 0 auto;
  padding: 7px;
  display: block;
  box-sizing: border-box;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
}

.floating-download {
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.24);
  transition: transform 0.18s ease;
}

.floating-download.alt {
  background: linear-gradient(180deg, #1d4ed8, #1e40af);
}

.floating-download span {
  font-size: 12px;
  opacity: 0.86;
}

.floating-download b {
  font-size: 14px;
}

footer {
  width: min(1220px, calc(100% - 44px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px 0 44px;
  color: #8ea0bd;
  font-size: 14px;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
}

.footer-main nav,
.footer-compliance,
.police-filing {
  display: flex;
  align-items: center;
}

.footer-main nav {
  flex-direction: row;
  gap: 24px;
}

.footer-main > span {
  color: #e2e8f0;
  font-weight: 860;
}

.footer-compliance {
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgba(142, 160, 189, 0.18);
  font-size: 13px;
}

.footer-compliance a {
  color: #8ea0bd;
}

.footer-compliance a:hover {
  color: #dbeafe;
}

.police-filing {
  gap: 6px;
}

.police-filing img {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-separator {
  color: rgba(142, 160, 189, 0.48);
}

@media (max-width: 1080px) {
  .hero,
  .section-head,
  .model-ecosystem,
  .download-section,
  .security-section {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-lanes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .agent-rail,
  .release-card {
    grid-template-columns: 1fr;
  }

  .agent-rail::before {
    display: none;
  }

  .model-count {
    text-align: left;
  }

  .float-panel {
    position: static;
    width: min(420px, calc(100% - 44px));
    margin: 0 auto 32px;
  }

  .site-header {
    padding: 0 22px;
  }
}

@media (max-width: 760px) {
  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    position: sticky;
    height: auto;
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .brand strong {
    overflow: hidden;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-header > nav {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    grid-column: 1 / -1;
    width: auto;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 0 0 14px 14px;
    background: rgba(6, 7, 13, 0.98);
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.48);
  }

  .site-header.menu-open > nav {
    display: grid;
  }

  .site-header > nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
  }

  .site-header > nav a::after {
    display: none;
  }

  .site-header .login-form {
    grid-column: 1 / -1;
    width: 100%;
  }

  .site-header .login-link {
    width: 100%;
    justify-content: center;
  }

  main,
  footer {
    width: min(100% - 28px, 1220px);
  }

  .footer-main nav {
    align-items: flex-start;
    gap: 12px;
  }

  .footer-compliance {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-separator {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 92px;
  }

  .danmaku-layer {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .stage-note {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .video-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-control {
    width: 100%;
    min-height: 44px;
    padding: 0 9px;
  }

  .hero-stage.video-expanded {
    padding: 8px;
  }

  .hero-stage.video-expanded video {
    max-height: calc(100dvh - 128px);
  }

  .hero-stage.video-expanded .stage-note-copy {
    display: none;
  }

  .workflow-lanes,
  .model-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .download-section,
  .product-band,
  .model-ecosystem,
  .feature-matrix,
  .agent-stack,
  .solutions-section,
  .security-section,
  .changelog-section {
    padding: 24px;
    border-radius: 20px;
  }

  .stats-row {
    margin-top: -52px;
  }

  .feature-grid .feature-large {
    min-height: 240px;
  }

  .security-list article {
    grid-template-columns: 1fr;
  }
}
