:root {
  --bg-0: #f9fbf8;
  --bg-1: #f4f7f3;
  --bg-2: #eef2ee;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --surface-soft: rgba(247, 249, 247, 0.86);
  --line: rgba(13, 13, 13, 0.08);
  --line-strong: rgba(13, 13, 13, 0.14);
  --text: #111312;
  --muted: #606661;
  --muted-soft: #8b9390;
  --accent: #d97757;
  --accent-soft: rgba(217, 119, 87, 0.14);
  --accent-2: #141412;
  --cyan: var(--accent);
  --cyan-deep: #25231e;
  --lime: #e9f4ef;
  --lime-deep: #2b8a4e;
  --amber: #d6bb7b;
  --red: #ff7e72;
  --shadow-lg: 0 28px 80px rgba(17, 19, 18, 0.08);
  --shadow-md: 0 16px 38px rgba(17, 19, 18, 0.06);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(217, 119, 87, 0.10), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(217, 119, 87, 0.06), transparent 22%),
    radial-gradient(circle at 82% 82%, rgba(13, 13, 13, 0.035), transparent 28%),
    linear-gradient(180deg, #fdfefd 0%, #f7f9f7 52%, #f1f4f1 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

.eyebrow,
.section-tag,
.card-kicker,
.fact-label,
.topnav,
.top-cta,
.button,
.download-note,
.proof-tab,
.stage-address,
.stage-state,
.callout-label,
.hero-note,
.node-index,
.stream-line {
  font-family: "IBM Plex Mono", monospace;
}

.ambient {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -2;
}

.ambient-grid,
.ambient-scan {
  position: absolute;
  inset: 0;
}

.ambient-grid {
  background-image:
    linear-gradient(rgba(17, 19, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 18, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, black 36%, transparent 86%);
  opacity: 0.4;
}

.ambient-scan {
  background:
    repeating-linear-gradient(
      180deg,
      rgba(17, 19, 18, 0.02) 0,
      rgba(17, 19, 18, 0.02) 1px,
      transparent 1px,
      transparent 6px
    );
  opacity: 0.14;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.2;
  animation: drift 22s ease-in-out infinite;
}

.glow-a {
  width: 30rem;
  height: 30rem;
  top: -8rem;
  right: -5rem;
  background: rgba(47, 107, 90, 0.55);
}

.glow-b {
  width: 26rem;
  height: 26rem;
  left: -7rem;
  bottom: -8rem;
  background: #d8f8e3;
  animation-delay: -7s;
}

.glow-c {
  width: 18rem;
  height: 18rem;
  left: 50%;
  top: 22%;
  background: #d4ddd7;
  animation-delay: -12s;
}

.topbar,
.page,
.footer {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 12px 0 10px;
  background: transparent;
  backdrop-filter: none;
  isolation: isolate;
}

.topbar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: #141412;
  pointer-events: none;
  z-index: -1;
}

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.topbar .brand {
  gap: 8px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 244, 0.92));
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 32px rgba(17, 19, 18, 0.06);
  overflow: hidden;
}

.topbar .brand-mark {
  border: 0;
  background: transparent;
  box-shadow: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.topbar .brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.topbar .brand-copy {
  gap: 0;
  margin-left: 0;
}

.topbar .brand-copy span {
  display: none;
}

.topbar .brand-copy strong {
  font-size: 1.42rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
  transform: translateY(1px);
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
}

.brand-copy strong {
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.topnav {
  justify-self: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.topnav a {
  padding: 10px 12px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.topnav a.is-active,
.topnav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--text);
}

.topnav a:hover {
  background: rgba(17, 19, 18, 0.05);
  color: var(--cyan-deep);
}

.top-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  padding: 15px 18px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-btn {
  min-width: auto;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 168px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 60;
}

.lang-switch.open .lang-menu {
  display: grid;
  gap: 6px;
}

.lang-item {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 0.9rem;
}

.lang-item:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.lang-item .code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--muted-soft);
}

.top-cta,
.button-primary {
  color: #faf9f5;
  background: linear-gradient(180deg, rgba(20, 20, 18, 0.96), rgba(20, 20, 18, 0.88));
  border: 1px solid rgba(217, 119, 87, 0.22);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.top-cta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.top-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.84);
  color: var(--cyan-deep);
  box-shadow: 0 12px 28px rgba(17, 19, 18, 0.05);
}

.button.disabled,
.button[aria-disabled="true"] {
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  box-shadow: none;
  pointer-events: none;
}

.page {
  padding-bottom: 84px;
}

.page-title {
  margin: 10px 0 0;
  font-size: clamp(2.15rem, 4vw, 3.1rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.page-subtitle {
  margin: 14px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.product-grid,
.docs-index {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.product-card,
.docs-card {
  padding: 18px 18px 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.product-card h3,
.docs-card h3 {
  margin: 10px 0 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.product-card p,
.docs-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.docs-cta {
  margin-top: 22px;
  padding: 18px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.docs-cta h3 {
  margin: 0;
  font-size: 1.15rem;
}

.docs-cta p {
  margin: 8px 0 0;
  color: var(--muted);
}

.docs-cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.papers-lead,
.papers-close {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-soft);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.papers-lead h3,
.papers-close h3 {
  margin: 0;
  font-size: 1.15rem;
}

.papers-lead p,
.papers-close p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 68ch;
}

.papers-index {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.paper-card {
  padding: 18px 18px 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.paper-card h3 {
  margin: 10px 0 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.paper-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.paper-anchor {
  color: inherit;
}

.paper-anchor:hover {
  color: var(--accent);
}

.papers-stack {
  display: grid;
  gap: 22px;
}

.paper-section {
  padding: 28px 30px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
}

.paper-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.paper-byline {
  color: var(--muted-soft);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.paper-section h2 {
  margin: 18px 0 0;
  font-size: clamp(2rem, 3vw, 2.9rem);
  letter-spacing: -0.02em;
}

.paper-body {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.paper-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.92;
  max-width: 74ch;
}

.paper-page [data-paper-lang] {
  display: none;
}

body[data-paper-lang-active="en"] .paper-page [data-paper-lang="en"] {
  display: block;
}

body[data-paper-lang-active="zh"] .paper-page [data-paper-lang="zh"] {
  display: block;
}

.paper-top-switch,
.paper-inline-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.paper-top-lang,
.paper-inline-lang {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.paper-top-lang {
  padding: 11px 14px;
  border-radius: 999px;
}

.paper-inline-lang {
  padding: 9px 12px;
  border-radius: 999px;
}

.paper-top-lang.is-active,
.paper-inline-lang.is-active {
  background: rgba(17, 19, 18, 0.9);
  color: #f7f6f2;
  box-shadow: 0 10px 24px rgba(17, 19, 18, 0.16);
}

.paper-page {
  padding-bottom: 96px;
}

.paper-hero {
  padding: 28px 0 0;
}

.paper-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.paper-issue {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paper-page-title {
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.96;
}

.paper-page-subtitle {
  max-width: 72ch;
  font-size: 1.08rem;
  line-height: 1.9;
}

.paper-meta-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.paper-meta-cell {
  min-height: 138px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 40px rgba(17, 19, 18, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.paper-meta-label {
  color: var(--muted-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paper-meta-cell strong {
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.paper-reading-shell {
  padding-top: 8px;
}

.paper-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.paper-aside {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 16px;
}

.paper-side-card {
  padding: 18px 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
}

.paper-side-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.85;
}

.paper-outline {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.paper-outline a {
  color: var(--text);
  line-height: 1.55;
}

.paper-outline a:hover {
  color: var(--accent);
}

.paper-claims {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.75;
}

.paper-article {
  max-width: 820px;
  margin: 0 auto;
}

.paper-section-long {
  padding: 0 0 34px;
  border-bottom: 1px solid rgba(17, 19, 18, 0.1);
}

.paper-section-long + .paper-section-long {
  padding-top: 34px;
}

.paper-section-long:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.paper-section-long h2 {
  margin: 16px 0 0;
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.paper-section-long p {
  margin: 18px 0 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.95;
}

.paper-pullquote {
  margin: 26px 0 0;
  padding: 18px 22px 18px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(217, 119, 87, 0.08);
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.8;
  letter-spacing: -0.01em;
}

.paper-next {
  display: grid;
  gap: 24px;
}

.paper-next-title {
  margin: 10px 0 0;
  max-width: 20ch;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.paper-next-copy {
  margin: 14px 0 0;
  max-width: 70ch;
  color: var(--muted);
  line-height: 1.85;
}

.paper-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.paper-next-card {
  padding: 20px 20px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.paper-next-card h3 {
  margin: 12px 0 0;
  font-size: 1.18rem;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.timeline {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.timeline-item {
  padding: 18px 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
}

.timeline-meta {
  display: grid;
  gap: 8px;
  align-content: start;
}

.timeline-date {
  font-family: "IBM Plex Mono", monospace;
  color: var(--muted-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.timeline-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--accent-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--text);
}

.timeline-body h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.timeline-body p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.signal-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 26px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface-strong);
  box-shadow: var(--shadow-lg);
}

.signal-intro p {
  max-width: 70ch;
}

.signal-body {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.signal-code pre,
.proof-code pre {
  margin: 0;
  padding: 16px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(7, 10, 14, 0.96);
  color: #eef4fb;
  overflow: auto;
  line-height: 1.7;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.86rem;
}

.signal-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-block {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
}

.proof-copy h3 {
  margin: 0;
  font-size: 1.25rem;
}

.proof-copy p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.docs-strip-action .button {
  min-width: auto;
  padding: 10px 12px;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .product-grid,
  .docs-index,
  .papers-index {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .papers-lead,
  .papers-close,
  .proof-block {
    grid-template-columns: 1fr;
    display: grid;
  }

  .paper-section {
    padding: 24px 20px;
  }

  .paper-meta-grid,
  .paper-next-grid,
  .paper-layout {
    grid-template-columns: 1fr;
  }

  .paper-aside {
    position: static;
  }

  .paper-page-title {
    max-width: none;
  }

  .paper-section-long h2,
  .paper-next-title {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .paper-top-switch {
    display: none;
  }

  .paper-hero {
    padding-top: 16px;
  }

  .paper-meta-cell {
    min-height: 0;
  }

  .paper-section-long h2 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .paper-section-long p,
  .paper-side-card p,
  .paper-next-copy {
    font-size: 0.98rem;
  }
}
.hero {
  min-height: calc(100vh - 110px);
  padding-top: 44px;
}

.screen-block {
  position: relative;
}

.screen-group + .screen-group {
  margin-top: 28px;
}

.hero-shell {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 246, 0.82)),
    var(--surface-strong);
  box-shadow: var(--shadow-lg);
}

.hero-copy-shell {
  overflow: hidden;
}

.hero-intro {
  position: relative;
  --hero-pad-top: 52px;
  --hero-pad-x: 44px;
  --hero-pad-bottom: 18px;
  padding: var(--hero-pad-top) var(--hero-pad-x) var(--hero-pad-bottom);
}

.hero-top {
  position: relative;
  z-index: 2;
  min-height: 560px;
  overflow: visible;
}

.hero-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(217, 119, 87, 0.05), transparent 24%),
    radial-gradient(circle at 88% 0%, rgba(245, 244, 239, 0.02), transparent 20%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(54%, 52rem);
  min-width: 0;
}

.hero-stage-head {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  background: rgba(24, 22, 19, 0.72);
  border: 1px solid rgba(245, 244, 239, 0.08);
  backdrop-filter: blur(20px);
}

.hero-core-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-neuron-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translateX(clamp(140px, 18vw, 220px)) scale(1.14);
  transform-origin: 66% 45%;
}

.hero-stage-head .stage-address {
  color: rgba(245, 244, 239, 0.92);
}

.hero-stage-head .stage-state {
  background: rgba(18, 17, 15, 0.76);
  border: 1px solid rgba(245, 244, 239, 0.08);
  color: rgba(245, 244, 239, 0.94);
}

.memory-stage {
  --memory-scale: 1;
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: scale(var(--memory-scale));
  transform-origin: 50% 50%;
  border-radius: 32px;
  background:
    radial-gradient(circle at 86% 66%, rgba(217, 119, 87, 0.04), transparent 18%),
    radial-gradient(circle at 82% 42%, rgba(245, 244, 239, 0.018), transparent 24%),
    linear-gradient(180deg, rgba(28, 26, 23, 0.94) 0%, rgba(23, 21, 19, 0.965) 58%, rgba(19, 18, 16, 0.985) 100%);
}

.memory-stage-plain {
  background:
    radial-gradient(circle at 86% 64%, rgba(217, 119, 87, 0.028), transparent 18%),
    linear-gradient(180deg, rgba(27, 25, 22, 0.94) 0%, rgba(22, 20, 18, 0.965) 58%, rgba(19, 18, 16, 0.985) 100%);
}

.memory-stage-plain::before,
.memory-stage-plain::after {
  display: none;
}

.memory-stage::before,
.memory-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.memory-stage::before {
  background-image:
    linear-gradient(rgba(245, 244, 239, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 244, 239, 0.012) 1px, transparent 1px);
  background-size: 124px 124px;
  opacity: 0.016;
  mask-image: radial-gradient(circle at 78% 52%, rgba(255, 255, 255, 0.72), transparent 100%);
}

.memory-stage::after {
  background:
    linear-gradient(90deg, rgba(19, 18, 16, 0.92) 0%, rgba(19, 18, 16, 0.86) 22%, rgba(19, 18, 16, 0.44) 40%, rgba(19, 18, 16, 0.12) 58%, rgba(19, 18, 16, 0.03) 76%),
    radial-gradient(circle at 59% 55%, rgba(217, 119, 87, 0.026), transparent 15%),
    radial-gradient(circle at 86% 54%, rgba(245, 244, 239, 0.014), transparent 14%),
    radial-gradient(circle at 88% 58%, rgba(19, 18, 16, 0), rgba(19, 18, 16, 0.52) 88%);
}

.hero-core-stage {
  --core-x: 66.1%;
  --core-y: 54%;
  opacity: 0.97;
  mask-image: linear-gradient(90deg, transparent 0 1%, rgba(255, 255, 255, 0.12) 14%, rgba(255, 255, 255, 0.82) 32%, rgba(255, 255, 255, 1) 52%, rgba(255, 255, 255, 0.3) 76%, transparent 100%);
}

.hero-core-stage .core-wave {
  display: none;
}

.hero-core-stage .core-wave-3 {
  display: none;
}

.hero-core-stage .core-wave-4 {
  display: none;
}

.hero-core-stage .core-arc {
  display: none;
}

.hero-core-stage .core-axis {
  display: none;
}

.hero-core-stage .core-ring-3 {
  border-color: rgba(217, 119, 87, 0.14);
}

.hero-core-stage .core-ring-1 {
  display: none;
}

.hero-core-stage .core-ring-2 {
  display: none;
}

.hero-core-stage .core-ring-3 {
  display: none;
}

.hero-core-stage .core-ring-4 {
  display: none;
}

.hero-core-stage .core-ring-5 {
  display: none;
}

.hero-core-stage .core-ring-6 {
  display: none;
}

.hero-core-stage .core-orbit-a,
.hero-core-stage .core-orbit-b,
.hero-core-stage .core-orbit-c,
.hero-core-stage .core-orbit-d,
.hero-core-stage .core-orbit-e {
  width: var(--hero-orbit-size);
  height: var(--hero-orbit-size);
}

.hero-core-stage .core-orbit-a {
  display: none;
}

.hero-core-stage .core-orbit-b {
  display: none;
}

.hero-core-stage .core-orbit-c {
  display: none;
}

.hero-core-stage .core-orbit-d {
  display: none;
}

.hero-core-stage .core-orbit-e {
  display: none;
}

.hero-core-stage .core-orbit-c,
.hero-core-stage .core-orbit-d,
.hero-core-stage .core-orbit-e {
  animation: none;
}

.hero-core-stage .core-center {
  width: 186px;
  height: 186px;
  transform: translate(-50%, -50%);
  filter:
    drop-shadow(0 0 24px rgba(245, 244, 239, 0.1))
    drop-shadow(0 0 38px rgba(217, 119, 87, 0.08));
}

.hero-core-stage .core-center::before,
.hero-core-stage .core-center::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-core-stage .core-center::before {
  inset: 22%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16), rgba(217, 119, 87, 0.11) 36%, rgba(217, 119, 87, 0.035) 68%, transparent 100%);
  filter: blur(15px);
  opacity: 0.82;
}

.hero-core-stage .core-center::after {
  inset: 36%;
  border: 1px solid rgba(245, 244, 239, 0.08);
  opacity: 0.24;
}

.hero-core-stage .core-center-track,
.hero-core-stage .core-center-orbit,
.hero-core-stage .core-center-dot {
  z-index: 1;
}

.hero-core-stage .core-center-track {
  display: none;
}

.hero-core-stage .core-center-track-2 {
  display: none;
}

.hero-core-stage .core-center-orbit-a {
  display: none;
}

.hero-core-stage .core-center-orbit-b {
  display: none;
}

.hero-core-stage .core-center-orbit-c {
  display: none;
}

.hero-core-stage .core-center-dot {
  inset: 42%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.98), rgba(255, 246, 240, 0.56) 56%, rgba(217, 119, 87, 0.1) 100%);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.05),
    0 0 30px rgba(255, 255, 255, 0.16),
    0 0 42px rgba(217, 119, 87, 0.12);
}

.memory-atmosphere {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(56px);
  z-index: 0;
}

.memory-atmosphere-a {
  inset: 10% 24% 16% 22%;
  background:
    radial-gradient(circle at 50% 50%, rgba(217, 119, 87, 0.055), rgba(245, 244, 239, 0.014) 42%, transparent 74%);
  opacity: 0.16;
  animation: neuronFieldDrift 16s ease-in-out infinite;
}

.memory-atmosphere-b {
  inset: 2% -10% 18% 68%;
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 244, 239, 0.03), rgba(245, 244, 239, 0.006) 44%, transparent 78%);
  opacity: 0.11;
  animation: neuronFieldDriftAlt 19s ease-in-out infinite;
}

.memory-atmosphere-c {
  inset: 48% -6% -8% 70%;
  background:
    radial-gradient(circle at 50% 50%, rgba(217, 119, 87, 0.04), rgba(217, 119, 87, 0.01) 40%, transparent 72%);
  opacity: 0.05;
  animation: neuronFieldDrift 22s ease-in-out infinite reverse;
}

.memory-network {
  position: absolute;
  inset: -2%;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 2;
}

.memory-network-neuron {
  inset: -8% -10%;
  width: 120%;
  height: 122%;
  opacity: 0.98;
  mask-image: linear-gradient(90deg, transparent 0 24%, rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.48) 56%, rgba(255, 255, 255, 0.92) 70%, rgba(255, 255, 255, 1) 82%);
}

.hero-neuron-stage .neuron-trace-main {
  opacity: 0.42;
}

.hero-neuron-stage .neuron-trace-highlight {
  opacity: 0.14;
}

.hero-neuron-stage .neuron-trace-faint,
.hero-neuron-stage .neuron-trace-glow {
  opacity: 0.06;
}

.hero-neuron-stage path[data-tone="main"].neuron-trace-main {
  opacity: 0.82;
}

.hero-neuron-stage path[data-tone="main"].neuron-trace-highlight {
  opacity: 0.3;
}

.hero-neuron-stage path[data-tone="secondary"].neuron-trace-main {
  opacity: 0.38;
}

.hero-neuron-stage path[data-tone="secondary"].neuron-trace-highlight {
  opacity: 0.12;
}

.hero-neuron-stage path[data-tone="warm"].neuron-trace-main {
  opacity: 0.32;
}

.hero-neuron-stage path[data-tone="warm"].neuron-trace-highlight {
  opacity: 0.11;
}

.hero-neuron-stage path[data-tone="faint"].neuron-trace-main,
.hero-neuron-stage path[data-tone="faint"].neuron-trace-highlight {
  opacity: 0.08;
}

.neuron-field-faint,
.neuron-field-branches,
.neuron-field-nodes,
.neuron-field-pulses {
  pointer-events: none;
}

.neuron-trace {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.neuron-trace-glow {
  opacity: 0.04;
  mix-blend-mode: normal;
}

.neuron-trace-main {
  opacity: 0.58;
}

.neuron-trace-highlight {
  opacity: 0.18;
  mix-blend-mode: normal;
}

.neuron-trace-faint {
  opacity: 0.07;
}

.neuron-node-glow,
.neuron-node-core,
.neuron-node-satellite,
.neuron-pulse {
  mix-blend-mode: normal;
}

.neuron-node-glow {
  opacity: 0.08;
}

.neuron-node-core {
  opacity: 0.92;
}

.neuron-node-satellite {
  opacity: 0.46;
}

.neuron-node-spark {
  opacity: 0.34;
}

.neuron-pulse {
  opacity: 0;
  mix-blend-mode: normal;
}

.neuron-field-pulses .neuron-node-glow {
  opacity: 0.18;
}

.neuron-field-pulses .neuron-node-satellite {
  opacity: 0.76;
}

.neuron-field-pulses .neuron-node-spark {
  opacity: 0.72;
}

.neuron-pulse-cool {
  fill: url(#neuron-pulse-cool);
}

.neuron-pulse-warm {
  fill: url(#neuron-pulse-warm);
}

.memory-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.memory-path-main {
  opacity: 0.82;
}

.memory-path-warm {
  opacity: 0.76;
}

.memory-path-soft,
.memory-path-secondary {
  opacity: 0.58;
}

.memory-path-secondary {
  stroke-dasharray: 2 8;
  opacity: 0.44;
}

.memory-path-near {
  stroke-width: 1.5;
  opacity: 0.9;
}

.memory-path-mid {
  stroke-width: 1.16;
}

.memory-path-far {
  stroke-width: 0.98;
  opacity: 0.54;
}

.memory-path-outer {
  stroke-width: 0.84;
  opacity: 0.5;
}

.memory-path-perimeter {
  stroke-width: 0.44;
  stroke-dasharray: 1.6 9.6;
  opacity: 0.16;
}

.memory-path-filament {
  stroke-width: 0.5;
  opacity: 0.34;
}

.memory-path-outer:not(.memory-path-warm),
.memory-path-perimeter:not(.memory-path-warm),
.memory-path-filament:not(.memory-path-warm) {
  stroke: rgba(245, 244, 239, 0.58);
}

.memory-path-outer.memory-path-warm,
.memory-path-perimeter.memory-path-warm,
.memory-path-filament.memory-path-warm {
  stroke: rgba(217, 119, 87, 0.24);
}

.memory-path-trigger {
  opacity: 1;
}

.memory-path-core-accent {
  stroke-width: 1.68;
  opacity: 0.98;
  filter: drop-shadow(0 0 5px rgba(245, 244, 239, 0.12));
}

.memory-signal {
  display: inline;
  opacity: 0.34;
}

.memory-signal-main {
  fill: rgba(245, 244, 239, 0.68);
  filter:
    drop-shadow(0 0 7px rgba(245, 244, 239, 0.26))
    drop-shadow(0 0 14px rgba(245, 244, 239, 0.16));
}

.memory-signal-warm {
  fill: rgba(217, 119, 87, 0.62);
  filter:
    drop-shadow(0 0 8px rgba(217, 119, 87, 0.24))
    drop-shadow(0 0 16px rgba(217, 119, 87, 0.16));
}

.memory-signal-soft {
  fill: rgba(245, 244, 239, 0.46);
  filter:
    drop-shadow(0 0 6px rgba(245, 244, 239, 0.18))
    drop-shadow(0 0 12px rgba(245, 244, 239, 0.1));
}

.memory-signal-trigger {
  fill: rgba(245, 244, 239, 0.98);
  opacity: 0.94;
  filter: drop-shadow(0 0 10px rgba(245, 244, 239, 0.34));
}

.memory-signal-flashback {
  fill: rgba(255, 255, 255, 1);
  opacity: 0.98;
  filter:
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.44))
    drop-shadow(0 0 18px rgba(217, 119, 87, 0.16));
}

.memory-particle-layer {
  pointer-events: none;
}

.memory-network[data-memory-enhanced="true"] .memory-signal {
  display: none;
}

.memory-particle {
  opacity: 0;
  vector-effect: non-scaling-stroke;
  mix-blend-mode: normal;
}

.memory-particle-halo {
  fill: rgba(245, 244, 239, 0.2);
  stroke: none;
  filter: none;
}

.memory-particle-halo.memory-particle-halo-warm {
  fill: rgba(217, 119, 87, 0.19);
  filter: none;
}

.memory-particle-halo.memory-particle-halo-trigger {
  fill: rgba(255, 255, 255, 0.24);
  filter: none;
}

.memory-particle-main {
  fill: rgba(245, 244, 239, 0.82);
  stroke: rgba(245, 244, 239, 0.14);
  stroke-width: 0.62;
  filter: drop-shadow(0 0 4px rgba(245, 244, 239, 0.12));
}

.memory-particle-warm {
  fill: rgba(217, 119, 87, 0.74);
  stroke: rgba(217, 119, 87, 0.14);
  stroke-width: 0.62;
  filter: drop-shadow(0 0 4px rgba(217, 119, 87, 0.12));
}

.memory-particle-soft {
  fill: rgba(245, 244, 239, 0.58);
  stroke: rgba(245, 244, 239, 0.1);
  stroke-width: 0.46;
  filter: none;
}

.memory-particle-trigger {
  fill: rgba(245, 244, 239, 0.72);
  stroke: rgba(217, 119, 87, 0.18);
  stroke-width: 0.68;
  filter:
    drop-shadow(0 0 4px rgba(245, 244, 239, 0.12))
    drop-shadow(0 0 8px rgba(217, 119, 87, 0.08));
}

.memory-particle-outer {
  fill: rgba(245, 244, 239, 0.48);
  stroke: rgba(245, 244, 239, 0.08);
  stroke-width: 0.28;
  filter: none;
}

.memory-particle-outer-warm {
  fill: rgba(217, 119, 87, 0.56);
  stroke: rgba(217, 119, 87, 0.08);
  stroke-width: 0.3;
  filter: none;
}

.memory-particle-filament {
  fill: rgba(245, 244, 239, 0.42);
  stroke: rgba(245, 244, 239, 0.04);
  stroke-width: 0.2;
  filter: none;
}

.memory-flow-guide {
  fill: none;
  stroke: none;
}

@keyframes memoryNodeFlicker {
  0%, 84%, 100% {
    opacity: 0.18;
    transform: scale(1);
  }
  88% {
    opacity: 0.34;
    transform: scale(1.08);
  }
  90% {
    opacity: 0.52;
    transform: scale(1.16);
  }
  92% {
    opacity: 0.22;
    transform: scale(1.02);
  }
}

.memory-node {
  --x: 50%;
  --y: 50%;
  --size: 10px;
  --node-fill:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.94), rgba(245, 244, 239, 0.52) 44%, rgba(245, 244, 239, 0.04) 100%);
  --node-ring: rgba(245, 244, 239, 0.075);
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--node-fill);
  box-shadow:
    0 0 0 1px rgba(245, 244, 239, 0.02),
    0 0 8px rgba(245, 244, 239, 0.08);
  opacity: var(--node-alpha, 0.92);
}

.memory-node::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--node-ring);
  opacity: 0.24;
  transform: scale(1);
  animation: none;
}

:is(.memory-node-core, .memory-node-a, .memory-node-b, .memory-node-d, .memory-node-e, .memory-node-f, .memory-node-g)::after {
  opacity: 0.42;
  animation: memoryNodeFlicker var(--node-flicker-duration, 10.8s) ease-in-out infinite;
  animation-delay: var(--node-flicker-delay, 0s);
}

:is(.memory-node-ag, .memory-node-ah, .memory-node-ai, .memory-node-aj, .memory-node-ak, .memory-node-al, .memory-node-am, .memory-node-an, .memory-node-ao, .memory-node-ap, .memory-node-aq, .memory-node-ar, .memory-node-as, .memory-node-at, .memory-node-au, .memory-node-av, .memory-node-aw, .memory-node-ax, .memory-node-ay, .memory-node-az, .memory-node-ba, .memory-node-bb, .memory-node-bc, .memory-node-bd, .memory-node-be, .memory-node-bf, .memory-node-bg, .memory-node-bh, .memory-node-bi, .memory-node-bj, .memory-node-bk, .memory-node-bl, .memory-node-bm, .memory-node-bn, .memory-node-bo, .memory-node-bp, .memory-node-bq, .memory-node-br, .memory-node-bs, .memory-node-bt, .memory-node-bu, .memory-node-bv)::after {
  animation: none;
  opacity: 0.26;
}

.memory-node-core,
:is(.memory-node-a, .memory-node-d, .memory-node-f, .memory-node-g) {
  box-shadow:
    0 0 0 1px rgba(245, 244, 239, 0.03),
    0 0 10px rgba(245, 244, 239, 0.1),
    0 0 18px rgba(217, 119, 87, 0.05);
}

.memory-node-core {
  --x: 78%;
  --y: 42%;
  --size: 18px;
  --node-alpha: 1;
  --node-fill:
    radial-gradient(circle at 38% 38%, rgba(248, 205, 190, 0.98) 0%, rgba(217, 119, 87, 1) 28%, rgba(217, 119, 87, 0.9) 48%, rgba(217, 119, 87, 0.26) 70%, rgba(217, 119, 87, 0) 100%);
  --node-ring: rgba(217, 119, 87, 0.22);
  box-shadow:
    0 0 0 1px rgba(245, 244, 239, 0.06),
    0 0 16px rgba(217, 119, 87, 0.22),
    0 0 34px rgba(217, 119, 87, 0.12);
}

.memory-node-core::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(217, 119, 87, 0.18);
}

.memory-node-a { --x: 72.4%; --y: 32.9%; --size: 8px; --node-alpha: 0.9; }
.memory-node-b { --x: 84.6%; --y: 27.1%; --size: 8px; --node-fill: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.96), rgba(217, 119, 87, 0.52) 48%, rgba(217, 119, 87, 0.08) 100%); --node-ring: rgba(217, 119, 87, 0.16); --node-alpha: 0.9; }
.memory-node-c { --x: 89%; --y: 38%; --size: 7px; --node-alpha: 0.84; }
.memory-node-d { --x: 90.6%; --y: 54.2%; --size: 8px; --node-fill: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(217, 119, 87, 0.48) 46%, rgba(217, 119, 87, 0.06) 100%); --node-ring: rgba(217, 119, 87, 0.14); --node-alpha: 0.88; }
.memory-node-e { --x: 79.2%; --y: 53.5%; --size: 8px; --node-alpha: 0.88; }
.memory-node-f { --x: 64.6%; --y: 57.4%; --size: 7px; --node-alpha: 0.82; }
.memory-node-g { --x: 66%; --y: 44.2%; --size: 8px; --node-alpha: 0.9; }
.memory-node-h { --x: 58%; --y: 31%; --size: 6px; --node-alpha: 0.74; }
.memory-node-i { --x: 74%; --y: 18%; --size: 4.5px; --node-fill: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.94), rgba(217, 119, 87, 0.44) 44%, rgba(217, 119, 87, 0.06) 100%); --node-ring: rgba(217, 119, 87, 0.14); --node-alpha: 0.62; }
.memory-node-j { --x: 90%; --y: 21%; --size: 4.5px; --node-alpha: 0.6; }
.memory-node-k { --x: 95%; --y: 58%; --size: 4.5px; --node-alpha: 0.58; }
.memory-node-l { --x: 53%; --y: 57%; --size: 5.5px; --node-alpha: 0.64; }
.memory-node-m { --x: 46%; --y: 28%; --size: 4.5px; --node-alpha: 0.5; }
.memory-node-n { --x: 63%; --y: 26.45%; --size: 4px; --node-alpha: 0.52; }
.memory-node-o { --x: 56%; --y: 30.32%; --size: 4px; --node-alpha: 0.48; }
.memory-node-p { --x: 40.4%; --y: 35.81%; --size: 4px; --node-alpha: 0.42; }
.memory-node-q { --x: 49%; --y: 45.97%; --size: 4px; --node-alpha: 0.44; }
.memory-node-r { --x: 58.4%; --y: 62.58%; --size: 5px; --node-alpha: 0.5; }
.memory-node-s { --x: 66.6%; --y: 60%; --size: 4px; --node-alpha: 0.46; }
.memory-node-t { --x: 70.2%; --y: 69.35%; --size: 4px; --node-alpha: 0.44; }
.memory-node-u { --x: 90%; --y: 63.55%; --size: 4px; --node-alpha: 0.44; }
.memory-node-v { --x: 96.6%; --y: 46.13%; --size: 4px; --node-alpha: 0.42; }
.memory-node-w { --x: 98%; --y: 23.23%; --size: 3px; --node-alpha: 0.34; }
.memory-node-x { --x: 93%; --y: 20.32%; --size: 3px; --node-alpha: 0.34; }
.memory-node-y { --x: 33%; --y: 21.94%; --size: 3px; --node-alpha: 0.3; }
.memory-node-z { --x: 62.6%; --y: 8.71%; --size: 3.5px; --node-alpha: 0.32; }
.memory-node-aa { --x: 19.8%; --y: 20.32%; --size: 3.5px; --node-alpha: 0.34; }
.memory-node-ab { --x: 28%; --y: 54.84%; --size: 4.5px; --node-alpha: 0.42; }
.memory-node-ac { --x: 22.4%; --y: 78.39%; --size: 3.5px; --node-alpha: 0.32; }
.memory-node-ad { --x: 46.2%; --y: 79.35%; --size: 3.5px; --node-alpha: 0.34; }
.memory-node-ae { --x: 74.4%; --y: 76.77%; --size: 4px; --node-alpha: 0.36; }
.memory-node-af { --x: 91%; --y: 79.35%; --size: 3.5px; --node-alpha: 0.3; }
.memory-node-ag { --x: 43.8%; --y: 4.19%; --size: 2.8px; --node-alpha: 0.22; }
.memory-node-ah { --x: 87.4%; --y: 5.48%; --size: 2.8px; --node-alpha: 0.2; }
.memory-node-ai { --x: 96.4%; --y: 10%; --size: 2.6px; --node-alpha: 0.2; }
.memory-node-aj { --x: 6.8%; --y: 16.77%; --size: 2.8px; --node-alpha: 0.22; }
.memory-node-ak { --x: 5.8%; --y: 44.84%; --size: 2.7px; --node-alpha: 0.22; }
.memory-node-al { --x: 7.2%; --y: 64.19%; --size: 2.7px; --node-alpha: 0.2; }
.memory-node-am { --x: 18.8%; --y: 95.16%; --size: 2.8px; --node-alpha: 0.22; }
.memory-node-an { --x: 61.6%; --y: 96.45%; --size: 2.9px; --node-alpha: 0.22; --node-fill: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.88), rgba(217, 119, 87, 0.32) 50%, rgba(217, 119, 87, 0.04) 100%); --node-ring: rgba(217, 119, 87, 0.12); }
.memory-node-ao { --x: 91.4%; --y: 95.81%; --size: 2.8px; --node-alpha: 0.2; }
.memory-node-ap { --x: 98.4%; --y: 77.74%; --size: 2.6px; --node-alpha: 0.2; }
.memory-node-aq { --x: 98.6%; --y: 24.84%; --size: 2.6px; --node-alpha: 0.2; }
.memory-node-ar { --x: 94.2%; --y: 7.1%; --size: 2.6px; --node-alpha: 0.18; }
.memory-node-as { --x: 16.4%; --y: 8.71%; --size: 2.7px; --node-alpha: 0.2; }
.memory-node-at { --x: 63.8%; --y: 29.03%; --size: 3px; --node-alpha: 0.3; }
.memory-node-au { --x: 89.6%; --y: 14.84%; --size: 2.8px; --node-alpha: 0.26; }
.memory-node-av { --x: 58.6%; --y: 68.39%; --size: 2.9px; --node-alpha: 0.28; }
.memory-node-aw { --x: 88.8%; --y: 65.81%; --size: 2.8px; --node-alpha: 0.24; }
.memory-node-ax { --x: 29.6%; --y: 5.48%; --size: 2.6px; --node-alpha: 0.18; }
.memory-node-ay { --x: 100%; --y: 25.16%; --size: 2.4px; --node-alpha: 0.16; }
.memory-node-az { --x: 100%; --y: 93.55%; --size: 2.4px; --node-alpha: 0.16; }
.memory-node-ba { --x: 41.4%; --y: 100%; --size: 2.6px; --node-alpha: 0.18; }
.memory-node-bb { --x: 1%; --y: 36.45%; --size: 2.4px; --node-alpha: 0.16; }
.memory-node-bc { --x: 1%; --y: 83.87%; --size: 2.4px; --node-alpha: 0.16; }
.memory-node-bd { --x: 2%; --y: 10%; --size: 2.4px; --node-alpha: 0.16; }
.memory-node-be { --x: 88.2%; --y: 100%; --size: 2.6px; --node-alpha: 0.18; }
.memory-node-bf { --x: 7.8%; --y: 4.52%; --size: 2.3px; --node-alpha: 0.15; }
.memory-node-bg { --x: 84.2%; --y: 3.23%; --size: 2.3px; --node-alpha: 0.15; }
.memory-node-bh { --x: 100%; --y: 67.42%; --size: 2.2px; --node-alpha: 0.14; }
.memory-node-bi { --x: 74.2%; --y: 99.03%; --size: 2.3px; --node-alpha: 0.15; }
.memory-node-bj { --x: 7%; --y: 96.13%; --size: 2.2px; --node-alpha: 0.14; }
.memory-node-bk { --x: 100%; --y: 34.52%; --size: 2.2px; --node-alpha: 0.14; }
.memory-node-bl { --x: 2.4%; --y: 2.26%; --size: 2.1px; --node-alpha: 0.13; }
.memory-node-bm { --x: 1.2%; --y: 28.39%; --size: 2.1px; --node-alpha: 0.13; }
.memory-node-bn { --x: 0.6%; --y: 61.94%; --size: 2px; --node-alpha: 0.12; }
.memory-node-bo { --x: 0.8%; --y: 84.84%; --size: 2px; --node-alpha: 0.12; }
.memory-node-bp { --x: 7.6%; --y: 98.71%; --size: 2.1px; --node-alpha: 0.13; }
.memory-node-bq { --x: 48.6%; --y: 100%; --size: 2.2px; --node-alpha: 0.14; }
.memory-node-br { --x: 78.4%; --y: 99.68%; --size: 2.1px; --node-alpha: 0.13; }
.memory-node-bs { --x: 100%; --y: 33.87%; --size: 2px; --node-alpha: 0.12; }
.memory-node-bt { --x: 100%; --y: 96.45%; --size: 2px; --node-alpha: 0.12; }
.memory-node-bu { --x: 48.6%; --y: 1.29%; --size: 2.1px; --node-alpha: 0.13; }
.memory-node-bv { --x: 83.2%; --y: 0.97%; --size: 2.1px; --node-alpha: 0.13; }

:is(.memory-node-core, .memory-node-a, .memory-node-b, .memory-node-d, .memory-node-g) {
  --node-flicker-duration: 8.6s;
}

:is(.memory-node-e, .memory-node-f, .memory-node-h, .memory-node-l, .memory-node-r) {
  --node-flicker-duration: 10.4s;
}

:is(.memory-node-c, .memory-node-i, .memory-node-j, .memory-node-k, .memory-node-m, .memory-node-n, .memory-node-o) {
  --node-flicker-duration: 12.8s;
}

:is(.memory-node-p, .memory-node-q, .memory-node-s, .memory-node-t, .memory-node-u, .memory-node-v) {
  --node-flicker-duration: 14.2s;
}

:is(.memory-node-w, .memory-node-x, .memory-node-y, .memory-node-z, .memory-node-aa, .memory-node-ab, .memory-node-ac, .memory-node-ad, .memory-node-ae, .memory-node-af) {
  --node-flicker-duration: 16.8s;
}

:is(.memory-node-ag, .memory-node-ah, .memory-node-ai, .memory-node-aj, .memory-node-ak, .memory-node-al, .memory-node-am, .memory-node-an, .memory-node-ao, .memory-node-ap, .memory-node-aq, .memory-node-ar, .memory-node-as) {
  --node-flicker-duration: 19.6s;
}

:is(.memory-node-at, .memory-node-au, .memory-node-av, .memory-node-aw, .memory-node-ax, .memory-node-ay, .memory-node-az, .memory-node-ba, .memory-node-bb, .memory-node-bc, .memory-node-bd, .memory-node-be) {
  --node-flicker-duration: 22.4s;
}

:is(.memory-node-bf, .memory-node-bg, .memory-node-bh, .memory-node-bi, .memory-node-bj, .memory-node-bk, .memory-node-bl, .memory-node-bm, .memory-node-bn, .memory-node-bo, .memory-node-bp, .memory-node-bq, .memory-node-br, .memory-node-bs, .memory-node-bt, .memory-node-bu, .memory-node-bv) {
  --node-flicker-duration: 25.8s;
}

:is(.memory-node-core, .memory-node-e, .memory-node-j, .memory-node-p, .memory-node-w) {
  --node-flicker-delay: -1.2s;
}

:is(.memory-node-a, .memory-node-f, .memory-node-k, .memory-node-q, .memory-node-x) {
  --node-flicker-delay: -3.4s;
}

:is(.memory-node-b, .memory-node-g, .memory-node-l, .memory-node-r, .memory-node-y) {
  --node-flicker-delay: -5.1s;
}

:is(.memory-node-c, .memory-node-h, .memory-node-m, .memory-node-s, .memory-node-z) {
  --node-flicker-delay: -6.8s;
}

:is(.memory-node-d, .memory-node-i, .memory-node-n, .memory-node-t, .memory-node-aa) {
  --node-flicker-delay: -8.6s;
}

:is(.memory-node-o, .memory-node-u, .memory-node-ab) {
  --node-flicker-delay: -10.2s;
}

:is(.memory-node-v, .memory-node-ac, .memory-node-ad, .memory-node-ae, .memory-node-af) {
  --node-flicker-delay: -12.1s;
}

:is(.memory-node-ag, .memory-node-aj, .memory-node-am, .memory-node-ap) {
  --node-flicker-delay: -13.7s;
}

:is(.memory-node-ah, .memory-node-ak, .memory-node-an, .memory-node-aq) {
  --node-flicker-delay: -15.3s;
}

:is(.memory-node-ai, .memory-node-al, .memory-node-ao, .memory-node-ar, .memory-node-as) {
  --node-flicker-delay: -16.8s;
}

:is(.memory-node-at, .memory-node-aw, .memory-node-az, .memory-node-bc) {
  --node-flicker-delay: -18.2s;
}

:is(.memory-node-au, .memory-node-av, .memory-node-ba, .memory-node-bd) {
  --node-flicker-delay: -19.6s;
}

:is(.memory-node-ax, .memory-node-ay, .memory-node-bb, .memory-node-be) {
  --node-flicker-delay: -21.4s;
}

:is(.memory-node-bf, .memory-node-bi) {
  --node-flicker-delay: -22.8s;
}

:is(.memory-node-bg, .memory-node-bh, .memory-node-bj, .memory-node-bk) {
  --node-flicker-delay: -24.2s;
}

:is(.memory-node-bl, .memory-node-bo, .memory-node-bs, .memory-node-bu) {
  --node-flicker-delay: -25.6s;
}

:is(.memory-node-bm, .memory-node-bn, .memory-node-bp, .memory-node-bq, .memory-node-br, .memory-node-bt, .memory-node-bv) {
  --node-flicker-delay: -27.2s;
}

.core-stage {
  --core-x: 78%;
  --core-y: 43%;
  position: absolute;
  inset: 0;
  overflow: visible;
}

.core-stage::before,
.core-stage::after {
  content: "";
  position: absolute;
  inset: -18%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.core-stage::before {
  background-image:
    repeating-radial-gradient(
      circle at var(--core-x) var(--core-y),
      transparent 0 86px,
      rgba(255, 255, 255, 0.045) 86px 87px,
      transparent 87px 148px
    );
  opacity: 0.82;
  animation: heroFieldDrift 18s ease-in-out infinite;
}

.core-stage::after {
  background-image:
    repeating-radial-gradient(
      circle at var(--core-x) var(--core-y),
      transparent 0 152px,
      rgba(217, 119, 87, 0.08) 152px 154px,
      transparent 154px 274px
    );
  opacity: 0.74;
  animation: heroFieldDriftAlt 24s ease-in-out infinite;
}

.core-wave,
.core-ring,
.core-arc,
.core-orbit,
.core-center,
.core-node,
.core-axis {
  position: absolute;
  left: var(--core-x);
  top: var(--core-y);
  transform: translate(-50%, -50%);
}

.core-wave {
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.03);
  opacity: 0.18;
  animation: none;
}

.core-wave-1 {
  width: clamp(680px, 76vw, 1040px);
  height: clamp(680px, 76vw, 1040px);
  animation-delay: -1.5s;
}

.core-wave-2 {
  width: clamp(860px, 94vw, 1280px);
  height: clamp(860px, 94vw, 1280px);
  animation-delay: -5.6s;
}

.core-wave-3 {
  width: clamp(1060px, 118vw, 1520px);
  height: clamp(1060px, 118vw, 1520px);
  animation-delay: -9.7s;
}

.core-wave-4 {
  width: clamp(1320px, 142vw, 1780px);
  height: clamp(1320px, 142vw, 1780px);
  border-color: rgba(217, 119, 87, 0.03);
  animation-delay: -12.8s;
}

.core-ring {
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  animation: none;
  opacity: 0.8;
}

.core-ring-1 {
  width: 118px;
  height: 118px;
  border-color: rgba(255, 255, 255, 0.14);
  animation-delay: -0.4s;
}

.core-ring-2 {
  width: 220px;
  height: 220px;
  animation-delay: -1.6s;
}

.core-ring-3 {
  width: 360px;
  height: 360px;
  border-color: rgba(217, 119, 87, 0.18);
  animation-delay: -2.8s;
}

.core-ring-4 {
  width: 560px;
  height: 560px;
  animation-delay: -3.9s;
}

.core-ring-5 {
  width: 860px;
  height: 860px;
  border-color: rgba(255, 255, 255, 0.035);
  animation-delay: -5.4s;
}

.core-ring-6 {
  width: 1180px;
  height: 1180px;
  border-color: rgba(217, 119, 87, 0.05);
  animation-delay: -6.8s;
}

.core-arc {
  --arc-angle: 0deg;
  --arc-shift-x: 0px;
  --arc-shift-y: 0px;
  border-radius: 50%;
  border: 1px solid transparent;
  opacity: 0.9;
  transform: translate(calc(-50% + var(--arc-shift-x)), calc(-50% + var(--arc-shift-y))) rotate(var(--arc-angle));
}

.core-arc-a {
  --arc-angle: 16deg;
  --arc-shift-x: 8px;
  --arc-shift-y: -6px;
  width: 410px;
  height: 328px;
  border-color: rgba(217, 119, 87, 0.1);
  animation: coreArcDriftA 17s linear infinite;
}

.core-arc-b {
  --arc-angle: -22deg;
  --arc-shift-x: 14px;
  --arc-shift-y: 4px;
  width: 690px;
  height: 560px;
  border-color: rgba(255, 255, 255, 0.065);
  animation: coreArcDriftB 24s linear infinite;
}

.core-arc-c {
  --arc-angle: 11deg;
  --arc-shift-x: -10px;
  --arc-shift-y: 12px;
  width: 1060px;
  height: 860px;
  border-color: rgba(217, 119, 87, 0.06);
  animation: coreArcDriftA 32s linear infinite reverse;
}

.core-arc-d {
  --arc-angle: 68deg;
  --arc-shift-x: 18px;
  --arc-shift-y: -14px;
  width: 564px;
  height: 432px;
  border-color: rgba(255, 255, 255, 0.055);
  animation: coreArcDriftB 19s linear infinite;
}

.core-arc-e {
  --arc-angle: -56deg;
  --arc-shift-x: 12px;
  --arc-shift-y: 18px;
  width: 900px;
  height: 734px;
  border-color: rgba(217, 119, 87, 0.05);
  animation: coreArcDriftA 27s linear infinite;
}

.core-axis {
  background: rgba(255, 255, 255, 0.045);
  transform-origin: 0 50%;
}

.core-axis-a {
  width: 54%;
  height: 1px;
  transform: translate(0, -50%) rotate(-10deg);
}

.core-axis-b {
  width: 44%;
  height: 1px;
  transform: translate(0, -50%) rotate(28deg);
}

.core-axis-c {
  width: 50%;
  height: 1px;
  transform: translate(0, -50%) rotate(138deg);
}

.core-axis-d {
  width: 34%;
  height: 1px;
  transform: translate(0, -50%) rotate(208deg);
}

.core-axis-e {
  width: 63%;
  height: 1px;
  transform: translate(0, -50%) rotate(162deg);
}

.core-axis-f {
  width: 41%;
  height: 1px;
  transform: translate(0, -50%) rotate(248deg);
}

.core-orbit {
  --orbit-angle: 0deg;
  --orbit-shift-x: 0px;
  --orbit-shift-y: 0px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.045);
  transform: translate(calc(-50% + var(--orbit-shift-x)), calc(-50% + var(--orbit-shift-y))) rotate(var(--orbit-angle));
}

.core-orbit::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--accent);
}

.core-orbit::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: rgba(245, 244, 239, 0.74);
}

.core-orbit-a {
  --orbit-angle: 10deg;
  --orbit-shift-x: 10px;
  --orbit-shift-y: -4px;
  width: 248px;
  height: 188px;
  animation: coreOrbit 12s linear infinite;
}

.core-orbit-b {
  --orbit-angle: -18deg;
  --orbit-shift-x: 14px;
  --orbit-shift-y: 6px;
  width: 372px;
  height: 296px;
  animation: coreOrbitReverse 16s linear infinite;
}

.core-orbit-b::before {
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  background: rgba(245, 244, 239, 0.88);
}

.core-orbit-b::after {
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background: rgba(217, 119, 87, 0.78);
}

.core-orbit-c {
  --orbit-angle: 14deg;
  --orbit-shift-x: -8px;
  --orbit-shift-y: 10px;
  width: 536px;
  height: 438px;
  animation: coreOrbit 21s linear infinite;
}

.core-orbit-c::before {
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background: rgba(217, 119, 87, 0.72);
}

.core-orbit-c::after {
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background: rgba(255, 255, 255, 0.72);
}

.core-orbit-d {
  --orbit-angle: -28deg;
  --orbit-shift-x: 18px;
  --orbit-shift-y: -14px;
  width: 744px;
  height: 612px;
  border-color: rgba(255, 255, 255, 0.05);
  animation: coreOrbitReverse 27s linear infinite;
}

.core-orbit-d::before {
  top: auto;
  bottom: -4px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  background: rgba(255, 255, 255, 0.8);
}

.core-orbit-d::after {
  top: -4px;
  bottom: auto;
  left: 50%;
  margin-left: -3px;
  width: 6px;
  height: 6px;
  background: rgba(217, 119, 87, 0.76);
}

.core-orbit-e {
  --orbit-angle: 22deg;
  --orbit-shift-x: 10px;
  --orbit-shift-y: 20px;
  width: 980px;
  height: 826px;
  border-color: rgba(255, 255, 255, 0.03);
  animation: coreOrbit 34s linear infinite;
}

.core-orbit-e::before {
  top: 50%;
  left: auto;
  right: -4px;
  width: 7px;
  height: 7px;
  margin-left: 0;
  margin-top: -3.5px;
  background: rgba(217, 119, 87, 0.68);
}

.core-orbit-e::after {
  top: 50%;
  bottom: auto;
  left: -3px;
  width: 6px;
  height: 6px;
  margin-left: 0;
  margin-top: -3px;
  background: rgba(245, 244, 239, 0.72);
}

.core-node {
  --node-size: 248px;
  --node-height: var(--node-size);
  --node-speed: 12s;
  --node-delay: 0s;
  --orbit-angle: 0deg;
  --orbit-shift-x: 0px;
  --orbit-shift-y: 0px;
  --node-dot-size: 7px;
  --node-dot-size-alt: 5px;
  width: var(--node-size);
  height: var(--node-height);
  border-radius: 50%;
  border: 0;
  background: none;
  opacity: 0.96;
  animation: coreOrbit var(--node-speed) linear infinite;
  animation-delay: var(--node-delay);
  transform: translate(calc(-50% + var(--orbit-shift-x)), calc(-50% + var(--orbit-shift-y))) rotate(var(--orbit-angle));
}

.core-node::before,
.core-node::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.core-node::before {
  top: 0;
  left: 50%;
  width: var(--node-dot-size);
  height: var(--node-dot-size);
  transform: translate(-50%, -50%);
  background: rgba(245, 244, 239, 0.82);
  box-shadow: 0 0 0 3px rgba(245, 244, 239, 0.03);
}

.core-node::after {
  top: 50%;
  right: 0;
  width: var(--node-dot-size-alt);
  height: var(--node-dot-size-alt);
  transform: translate(50%, -50%);
  background: rgba(217, 119, 87, 0.72);
  box-shadow: 0 0 0 2px rgba(217, 119, 87, 0.035);
}

.core-node-a {
  --node-size: 248px;
  --node-height: 188px;
  --node-speed: 12s;
  --node-delay: -1.4s;
  --orbit-angle: 10deg;
  --orbit-shift-x: 10px;
  --orbit-shift-y: -4px;
  --node-dot-size: 6px;
  --node-dot-size-alt: 4px;
}

.core-node-b {
  --node-size: 248px;
  --node-height: 188px;
  --node-speed: 12s;
  --node-delay: -7.4s;
  --orbit-angle: 10deg;
  --orbit-shift-x: 10px;
  --orbit-shift-y: -4px;
  --node-dot-size: 6px;
  --node-dot-size-alt: 5px;
  animation-name: coreOrbitReverse;
}

.core-node-c {
  --node-size: 372px;
  --node-height: 296px;
  --node-speed: 16s;
  --node-delay: -2.2s;
  --orbit-angle: -18deg;
  --orbit-shift-x: 14px;
  --orbit-shift-y: 6px;
  --node-dot-size: 7px;
  --node-dot-size-alt: 5px;
}

.core-node-d {
  --node-size: 372px;
  --node-height: 296px;
  --node-speed: 16s;
  --node-delay: -9.8s;
  --orbit-angle: -18deg;
  --orbit-shift-x: 14px;
  --orbit-shift-y: 6px;
  --node-dot-size: 7px;
  --node-dot-size-alt: 5px;
  animation-name: coreOrbitReverse;
}

.core-node-e {
  --node-size: 536px;
  --node-height: 438px;
  --node-speed: 21s;
  --node-delay: -4.3s;
  --orbit-angle: 14deg;
  --orbit-shift-x: -8px;
  --orbit-shift-y: 10px;
  --node-dot-size: 6px;
  --node-dot-size-alt: 4px;
}

.core-node-f {
  --node-size: 536px;
  --node-height: 438px;
  --node-speed: 21s;
  --node-delay: -13.6s;
  --orbit-angle: 14deg;
  --orbit-shift-x: -8px;
  --orbit-shift-y: 10px;
  --node-dot-size: 7px;
  --node-dot-size-alt: 5px;
  animation-name: coreOrbitReverse;
}

.core-node-g {
  --node-size: 744px;
  --node-height: 612px;
  --node-speed: 27s;
  --node-delay: -6.2s;
  --orbit-angle: -28deg;
  --orbit-shift-x: 18px;
  --orbit-shift-y: -14px;
  --node-dot-size: 6px;
  --node-dot-size-alt: 4px;
}

.core-node-h {
  --node-size: 744px;
  --node-height: 612px;
  --node-speed: 27s;
  --node-delay: -15.8s;
  --orbit-angle: -28deg;
  --orbit-shift-x: 18px;
  --orbit-shift-y: -14px;
  --node-dot-size: 7px;
  --node-dot-size-alt: 5px;
  animation-name: coreOrbitReverse;
}

.core-node-i {
  --node-size: 980px;
  --node-height: 826px;
  --node-speed: 34s;
  --node-delay: -9.4s;
  --orbit-angle: 22deg;
  --orbit-shift-x: 10px;
  --orbit-shift-y: 20px;
  --node-dot-size: 6px;
  --node-dot-size-alt: 4px;
}

.core-node-j {
  --node-size: 980px;
  --node-height: 826px;
  --node-speed: 34s;
  --node-delay: -21.3s;
  --orbit-angle: 22deg;
  --orbit-shift-x: 10px;
  --orbit-shift-y: 20px;
  --node-dot-size: 6px;
  --node-dot-size-alt: 4px;
  animation-name: coreOrbitReverse;
}

.core-center {
  width: 146px;
  height: 146px;
  display: grid;
  place-items: center;
}

.core-center-track,
.core-center-orbit,
.core-center-dot {
  position: absolute;
  border-radius: 50%;
}

.core-center-track {
  inset: 14%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0.82;
}

.core-center-track-2 {
  inset: 28%;
  border-color: rgba(217, 119, 87, 0.22);
}

.core-center-orbit {
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.74;
}

.core-center-orbit::before,
.core-center-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.core-center-orbit-a {
  inset: 14%;
  border-color: rgba(255, 255, 255, 0.1);
  animation: coreOrbit 10s linear infinite;
}

.core-center-orbit-a::before {
  top: -4px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background: rgba(245, 244, 239, 0.88);
}

.core-center-orbit-a::after {
  bottom: -4px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  background: rgba(217, 119, 87, 0.74);
}

.core-center-orbit-b {
  inset: 28%;
  border-color: rgba(217, 119, 87, 0.16);
  animation: coreOrbitReverse 7.5s linear infinite;
}

.core-center-orbit-b::before {
  top: 50%;
  right: -4px;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  background: rgba(245, 244, 239, 0.8);
}

.core-center-orbit-b::after {
  top: 50%;
  left: -4px;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  background: rgba(217, 119, 87, 0.68);
}

.core-center-orbit-c {
  inset: 4%;
  border-color: rgba(255, 255, 255, 0.065);
  animation: coreOrbit 14s linear infinite;
}

.core-center-orbit-c::before {
  top: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  transform: translate(-50%, -50%);
  background: rgba(245, 244, 239, 0.66);
}

.core-center-orbit-c::after {
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  transform: translate(-50%, -50%);
  background: rgba(217, 119, 87, 0.54);
}

.core-center-dot {
  inset: 45%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.42) 58%, rgba(255, 255, 255, 0.08) 100%);
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.04),
    0 0 22px rgba(255, 255, 255, 0.08);
}

.eyebrow,
.section-tag,
.card-kicker,
.stage-state,
.download-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--cyan-deep);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.section-intro h2,
.use-copy h2,
.cta-copy h2,
.docs-strip h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.hero h1 {
  margin-top: 0;
  max-width: none;
  font-size: clamp(3.9rem, 7vw, 5.9rem);
  line-height: 0.93;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.06em;
}

.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-title {
  margin: 18px 0 0;
  color: #171c18;
  max-width: 26ch;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-subtitle {
  margin: 16px 0 0;
  max-width: 42rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.hero-lede,
.section-intro p,
.process-node p,
.capability-feature p,
.capability-side p,
.capability-wide p,
.pane-note,
.trust-item p,
.docs-strip p,
.release-card p,
.footer-brand span,
.rail-card p,
.use-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-lede {
  margin: 22px 0 0;
  max-width: 38rem;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.cta-contact {
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cta-contact-link {
  color: var(--cyan-deep);
  font-weight: 600;
}

.cta-contact-link:hover {
  text-decoration: underline;
}

.hero-note {
  margin: 24px 0 0;
  color: var(--muted-soft);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}


html[lang="zh-CN"] .hero h1,
html[lang="zh-CN"] .hero-title,
html[lang="zh-CN"] .hero-subtitle,
html[lang="zh-CN"] .hero-lede {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

html[lang="zh-CN"] .hero h1 {
  font-size: clamp(3.75rem, 6.7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
}

html[lang="zh-CN"] .hero-title {
  font-size: clamp(1.42rem, 2.45vw, 2.02rem);
  line-height: 1.3;
}

.process-shell,
.capability-feature,
.capability-side,
.capability-wide,
.proof-shell,
.use-card,
.difference-shell,
.docs-strip,
.cta-shell,
.release-card,
.footer {
  position: relative;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 252, 255, 0.82)),
    var(--surface-strong);
  box-shadow: var(--shadow-lg);
}

.process-shell,
.proof-shell,
.difference-shell,
.docs-strip,
.cta-shell,
.footer {
  overflow: hidden;
}

.hero-stage {
  position: relative;
  padding: 0 24px 24px;
}

.hero-runtime-shell .hero-stage {
  padding: 0;
}

.hero-runtime-shell .stage-main {
  padding-top: 0;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

.stage-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(13, 13, 13, 0.08);
}

.stage-dots {
  display: inline-flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.red { background: var(--red); }
.amber { background: var(--amber); }
.green { background: #2fd56f; }

.stage-address {
  flex: 1;
  color: var(--text);
  font-size: 0.82rem;
}

.stage-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 18px 0 0;
  align-items: stretch;
}

.stage-display,
.stage-side-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 246, 0.8)),
    rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
}

.stage-display {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  padding: 34px;
  background:
    radial-gradient(circle at 18% 22%, rgba(217, 119, 87, 0.09), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(17, 19, 18, 0.04), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 247, 245, 0.84)),
    rgba(255, 255, 255, 0.82);
}

.hero-runtime-shell .stage-display,
.hero-runtime-shell .stage-side-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.runtime-overview {
  min-height: 0;
  padding: 34px 34px 28px;
  justify-content: flex-start;
  gap: 26px;
  border-bottom: 1px solid var(--line);
}

.stage-display::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 19, 18, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 18, 0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, black 0%, black 68%, transparent 100%);
}

.stage-display::after {
  content: "";
  position: absolute;
  inset: auto 10% 7% 10%;
  height: 140px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(217, 119, 87, 0.16), rgba(217, 119, 87, 0.02) 64%, transparent 74%);
  filter: blur(18px);
}

.display-copy,
.display-route,
.display-panels {
  position: relative;
  z-index: 1;
}

.display-copy {
  max-width: 50rem;
}

.display-kicker,
.panel-label,
.side-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan-deep);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.display-copy h2 {
  margin: 18px 0 0;
  max-width: 13ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.6rem, 4.8vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.display-copy p {
  margin: 22px 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.display-route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.route-node,
.display-panel {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(13, 13, 13, 0.08);
}

.route-node span {
  display: block;
}

.route-node span {
  color: var(--muted-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-node strong,
.display-panel strong {
  display: block;
  margin-top: 10px;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
}

.display-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 16px;
}

.runtime-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 26px 34px;
}

.runtime-summary {
  border-bottom: 1px solid var(--line);
}

.runtime-panel,
.runtime-stack-card {
  padding: 0;
}

.runtime-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-start;
}

.runtime-panel strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.runtime-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.runtime-stack-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.runtime-summary .stage-side-card + .stage-side-card,
.runtime-detail .stage-side-card + .stage-side-card {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.runtime-stack-card .side-label {
  margin-bottom: 0;
}

.hero-runtime-shell .display-panel-accent {
  background: transparent;
}

.hero-runtime-shell .display-panel-accent .panel-label {
  color: var(--accent);
}

.hero-runtime-shell .route-node,
.hero-runtime-shell .rail-card,
.hero-runtime-shell .stream-line,
.hero-runtime-shell .stage-metric {
  box-shadow: none;
}

.hero-runtime-shell .stage-footer {
  padding: 24px 34px 34px;
  border-top: 1px solid var(--line);
}

.hero-runtime-shell .stage-metric {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.hero-runtime-shell .stage-metric + .stage-metric {
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

.display-panel {
  backdrop-filter: blur(16px);
}

.display-panel-accent {
  background:
    linear-gradient(135deg, rgba(217, 119, 87, 0.12), rgba(17, 19, 18, 0.03)),
    rgba(255, 255, 255, 0.74);
}

.display-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.stage-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stage-side-card {
  padding: 18px;
}

.side-label {
  display: inline-block;
  margin-bottom: 14px;
}

.rail-stack,
.rail-log,
.memory-pane,
.docs-meta,
.cta-side {
  display: grid;
  gap: 12px;
}

.rail-card,
.stream-line,
.memory-card,
.use-card,
.difference-card,
.trust-item {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
}

.rail-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.rail-card > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(217, 119, 87, 0.12), rgba(17, 19, 18, 0.04));
  color: var(--cyan-deep);
  font-size: 0.78rem;
}

.rail-card strong,
.process-node h3,
.capability-feature h3,
.capability-side h3,
.capability-wide h3,
.use-card h3,
.difference-card h3,
.trust-item strong,
.release-card strong,
.docs-meta strong {
  display: block;
  font-family: "Sora", sans-serif;
}

.rail-card strong {
  margin-bottom: 6px;
}

.rail-card p {
  margin: 0;
  font-size: 0.9rem;
}

.rail-card.is-active {
  transform: translateX(4px);
  background: linear-gradient(180deg, rgba(217, 119, 87, 0.10), rgba(255, 255, 255, 0.84));
}

.stream-line {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  line-height: 1.65;
}

.stream-line.is-active {
  color: var(--cyan-deep);
}

.stage-state {
  margin-left: auto;
}

.stage-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 0 0;
}

.stage-metric {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
}

.fact-label,
.callout-label {
  color: var(--muted-soft);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stage-metric strong,
.memory-card strong,
.docs-meta strong,
.release-card strong,
.footer-item strong {
  margin-top: 10px;
  font-size: 1.02rem;
}

.section {
  padding-top: 132px;
}

.section-light {
  padding-top: 108px;
}

.section-medium {
  padding-top: 132px;
}

.section-heavy {
  padding-top: 156px;
}

.section-intro {
  max-width: 48rem;
  margin-bottom: 34px;
}

.section-intro h2,
.use-copy h2,
.cta-copy h2 {
  margin-top: 18px;
  font-size: clamp(2.7rem, 4vw, 4.4rem);
}

.process-shell {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 34px;
}

.process-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 78px;
  height: 1px;
  background: linear-gradient(90deg, rgba(17, 19, 18, 0.08), rgba(217, 119, 87, 0.2), rgba(17, 19, 18, 0.08));
}

.process-node {
  position: relative;
  z-index: 1;
}

.node-index {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(217, 119, 87, 0.14), rgba(17, 19, 18, 0.04));
  color: var(--cyan-deep);
  font-size: 0.78rem;
}

.process-node h3 {
  margin: 0 0 10px;
  font-size: 1.26rem;
}

.process-node p {
  margin: 0;
  max-width: 18ch;
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px;
  align-items: start;
}

.capability-feature,
.capability-side,
.capability-wide,
.proof-shell,
.docs-strip,
.cta-shell,
.footer {
  padding: 30px;
}

.capability-feature {
  min-height: 480px;
}

.capability-feature h3 {
  margin: 18px 0 16px;
  max-width: 12ch;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.capability-feature p {
  max-width: 34rem;
  margin: 0;
}

.feature-ribbon,
.hero-actions,
.repair-loop {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-ribbon {
  margin-top: 28px;
}

.feature-ribbon span,
.memory-pills span,
.matrix-grid span,
.repair-loop span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 10px 20px rgba(17, 19, 18, 0.05);
}

.capability-side {
  min-height: 228px;
}

.capability-wide {
  grid-column: 1 / -1;
}

.capability-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
}

.capability-side h3,
.capability-wide h3,
.use-card h3,
.difference-card h3 {
  margin: 14px 0 10px;
  font-size: 1.44rem;
  letter-spacing: -0.03em;
}

.mini-ui {
  min-height: 120px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(247, 252, 255, 0.76);
}

.memory-pills,
.matrix-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.repair-loop {
  align-items: center;
  justify-content: flex-start;
}

.repair-loop .arrow {
  background: transparent;
  box-shadow: none;
  color: var(--cyan-deep);
}

.proof-shell {
  min-height: 720px;
}

.proof-header {
  display: flex;
  justify-content: flex-start;
}

.proof-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.proof-tab {
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proof-tab.is-active {
  background: rgba(217, 119, 87, 0.10);
  color: var(--cyan-deep);
}

.proof-stage {
  margin-top: 28px;
}

.proof-pane {
  display: none;
}

.proof-pane.is-active {
  display: block;
}

.chat-pane {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 24px;
}

.chat-column,
.exec-column,
.memory-pane,
.task-pane {
  display: grid;
  gap: 14px;
}

.chat-bubble,
.exec-step,
.task-node,
.memory-card,
.release-card {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-md);
}

.chat-bubble.agent,
.exec-step.active {
  background: linear-gradient(180deg, rgba(217, 119, 87, 0.08), rgba(255, 255, 255, 0.84));
}

.task-pane {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.task-node {
  min-height: 148px;
}

.task-node span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(217, 119, 87, 0.12), rgba(17, 19, 18, 0.04));
  color: var(--cyan-deep);
  font-size: 0.78rem;
}

.pane-note {
  margin: 20px 0 0;
}

.use-case-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 26px;
  align-items: start;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.use-card {
  min-height: 200px;
}

.runtime-showcase-section + #difference {
  padding-top: 88px;
}

.difference-shell {
  padding: 34px;
}

.runtime-showcase-card {
  margin-bottom: 0;
}

.runtime-showcase-surface {
  --font-chat-mono: "IBM Plex Mono", monospace;
  --font-chat-user-sans: "Sora", sans-serif;
  --font-chat-reply-serif: "Sora", sans-serif;
  --font-chat-sans: "Sora", sans-serif;
  --runtime-ink: #f1ede3;
  --runtime-ink-soft: #c8c1b4;
  --runtime-muted: #9f988b;
  --runtime-line: rgba(255, 255, 255, 0.08);
  --runtime-soft: rgba(255, 255, 255, 0.04);
  --runtime-soft-strong: rgba(255, 255, 255, 0.06);
  --runtime-accent: #d97757;
  --runtime-accent-soft: rgba(217, 119, 87, 0.14);
  position: relative;
  padding: 18px;
  background:
    radial-gradient(circle at 16% 10%, rgba(217, 119, 87, 0.16), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, rgba(15, 15, 14, 0.98), rgba(24, 24, 23, 0.96));
  overflow: hidden;
}

.runtime-showcase-surface::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.runtime-showcase-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 2px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.runtime-showcase-window {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.runtime-showcase-address {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--runtime-muted);
  font-size: 0.74rem;
  line-height: 1.4;
  font-family: var(--font-chat-mono);
}

.runtime-showcase-topmeta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.runtime-showcase-topmeta span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--runtime-line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--runtime-muted);
  font-family: var(--font-chat-mono);
  font-size: 0.68rem;
  line-height: 1;
}

.runtime-showcase-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

.runtime-showcase-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.runtime-showcase-panel {
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--runtime-line);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.runtime-showcase-plan {
  padding-top: 16px;
}

.runtime-showcase-card .thinking-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.runtime-showcase-card .thinking-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.runtime-showcase-card .thinking-panel .msg-name {
  color: var(--runtime-ink);
  font-family: var(--font-chat-user-sans);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

.runtime-showcase-card .thinking-state {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--runtime-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--runtime-muted);
  font-size: 11px;
  line-height: 1;
  font-family: var(--font-chat-mono);
}

.runtime-showcase-card .thinking-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.runtime-showcase-card .thinking-bubble {
  width: 100%;
  max-width: none;
  min-height: 0;
  padding: 14px 16px 15px;
  border-radius: 16px 16px 16px 6px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(20, 23, 31, 0.76);
  box-shadow: none;
}

.runtime-showcase-card .thinking-bubble.done {
  opacity: 0.96;
}

.runtime-showcase-card .thinking-bubble.active {
  background: rgba(32, 32, 36, 0.92);
  border-color: rgba(217, 119, 87, 0.24);
}

.runtime-showcase-card .thinking-bubble-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.runtime-showcase-card .thinking-bubble-label {
  color: #9ca3af;
  font-family: var(--font-chat-mono);
  font-size: 10.5px;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.runtime-showcase-card .thinking-bubble-text {
  color: var(--runtime-ink);
  font-family: var(--font-chat-user-sans);
  font-size: 13.5px;
  line-height: 1.72;
  font-weight: 300;
}

.runtime-showcase-card .thinking {
  display: inline-flex;
  gap: 4px;
  margin-top: 6px;
}

.runtime-showcase-card .thinking span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--runtime-muted);
  animation: showcasePulse 1.4s infinite;
}

.runtime-showcase-card .thinking span:nth-child(2) {
  animation-delay: 0.2s;
}

.runtime-showcase-card .thinking span:nth-child(3) {
  animation-delay: 0.4s;
}

.runtime-showcase-process {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.runtime-showcase-card .process-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.runtime-showcase-card .process-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  min-height: 18px;
  color: var(--runtime-muted);
  font-family: var(--font-chat-mono);
  font-size: 11px;
  line-height: 1;
}

.runtime-showcase-card .process-marker.is-running {
  gap: 3px;
  color: var(--runtime-accent);
  font-size: 0;
}

.runtime-showcase-card .process-marker.is-running span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  animation: showcasePulse 1.4s infinite;
}

.runtime-showcase-card .process-marker.is-running span:nth-child(2) {
  animation-delay: 0.2s;
}

.runtime-showcase-card .process-marker.is-running span:nth-child(3) {
  animation-delay: 0.4s;
}

.runtime-showcase-card .process-label {
  flex: 0 0 44px;
  color: var(--runtime-muted);
  font-family: var(--font-chat-mono);
  font-size: 11px;
  line-height: 1.6;
  font-style: normal;
  text-transform: uppercase;
}

.runtime-showcase-card .process-detail {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--runtime-ink-soft);
  font-family: var(--font-chat-user-sans);
  font-size: 12.75px;
  line-height: 1.65;
  font-weight: 300;
}

.runtime-showcase-card .process-line.running .process-detail {
  color: var(--runtime-ink);
}

.runtime-showcase-card .step-tracker {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.runtime-showcase-card .step-tracker-status {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: var(--runtime-muted);
}

.runtime-showcase-card .step-tracker-status-main {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--runtime-ink);
}

.runtime-showcase-card .step-tracker-spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  color: var(--runtime-accent);
}

.runtime-showcase-card .step-tracker-spinner.thinking::before,
.runtime-showcase-card .step-tracker-spinner.running::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border: 1.4px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  box-sizing: border-box;
  animation: showcaseSpin 1s linear infinite;
}

.runtime-showcase-card .step-tracker-spinner.done {
  color: rgba(151, 163, 184, 0.8);
}

.runtime-showcase-card .step-tracker-spinner.done::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
}

.runtime-showcase-card .step-tracker-title {
  color: var(--runtime-ink);
  font-family: var(--font-chat-user-sans);
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 400;
}

.runtime-showcase-card .step-tracker-summary {
  flex: 1 1 280px;
  min-width: 0;
  color: var(--runtime-ink-soft);
  font-family: var(--font-chat-user-sans);
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 300;
}

.runtime-showcase-card .step-tracker-toggle-text {
  margin-left: auto;
  color: var(--runtime-muted);
  font-family: var(--font-chat-mono);
  font-size: 11px;
  line-height: 1.4;
}

.runtime-showcase-card .plan-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 0 10px;
}

.runtime-showcase-card .plan-goal {
  color: var(--runtime-ink);
  font-family: var(--font-chat-user-sans);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
}

.runtime-showcase-card .plan-summary {
  color: var(--runtime-muted);
  font-family: var(--font-chat-user-sans);
  font-size: 12px;
  line-height: 1.5;
}

.runtime-showcase-card .plan-items {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.runtime-showcase-card .plan-item {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--runtime-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--runtime-muted);
  font-family: var(--font-chat-mono);
  font-size: 10.5px;
  line-height: 1;
}

.runtime-showcase-card .plan-item.done {
  color: #d4cec4;
  background: rgba(255, 255, 255, 0.05);
}

.runtime-showcase-card .plan-item.running {
  color: #fff1e8;
  background: var(--runtime-accent-soft);
  border-color: rgba(217, 119, 87, 0.24);
}

.runtime-showcase-card .step-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.runtime-showcase-card .step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-top: 4px;
}

.runtime-showcase-card .step-icon.thinking {
  color: var(--runtime-muted);
}

.runtime-showcase-card .step-icon.thinking::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}

.runtime-showcase-card .step-icon.running {
  color: var(--runtime-accent);
}

.runtime-showcase-card .step-icon.running::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  box-sizing: border-box;
  animation: showcaseSpin 1s linear infinite;
}

.runtime-showcase-card .step-icon.done {
  color: rgba(151, 163, 184, 0.8);
}

.runtime-showcase-card .step-icon.done::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}

.runtime-showcase-card .step-main {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.runtime-showcase-card .step-label {
  color: var(--runtime-muted);
  display: block;
  font-family: var(--font-chat-mono);
  font-size: 11px;
  line-height: 1.45;
  text-transform: lowercase;
}

.runtime-showcase-card .step-detail {
  flex: 1 1 260px;
  min-width: 0;
  color: var(--runtime-ink-soft);
  display: block;
  font-family: var(--font-chat-user-sans);
  font-size: 12.75px;
  line-height: 1.62;
  font-weight: 300;
}

.runtime-showcase-card .step-item.running .step-detail {
  color: var(--runtime-ink);
}

.runtime-showcase-card .repair-bar {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  border-radius: 18px;
  border: 1px solid var(--runtime-line);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.runtime-showcase-card .repair-bar-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px 11px;
  border: 0;
  background: transparent;
}

.runtime-showcase-card .repair-bar-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.runtime-showcase-card .repair-bar-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--runtime-line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--runtime-ink-soft);
  font-family: var(--font-chat-mono);
  font-size: 10.5px;
  line-height: 1;
}

.runtime-showcase-card .repair-bar-text {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.runtime-showcase-card .repair-bar-headline {
  color: var(--runtime-ink);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

.runtime-showcase-card .repair-bar-detail {
  color: var(--runtime-ink-soft);
  font-size: 12px;
  line-height: 1.65;
  font-weight: 300;
}

.runtime-showcase-card .repair-bar-progress {
  height: 1px;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.runtime-showcase-card .repair-bar-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--runtime-accent);
  border-radius: 999px;
  opacity: 0.88;
}

.runtime-showcase-run-panel {
  min-height: 520px;
}

.runtime-showcase-card .run-panel {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  border-radius: 24px;
  border: 1px solid var(--runtime-line);
  background: linear-gradient(180deg, rgba(12, 13, 13, 0.98), rgba(18, 19, 19, 0.96));
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.runtime-showcase-card .run-panel-header {
  position: relative;
  top: auto;
  z-index: auto;
  display: block;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.runtime-showcase-card .run-panel-header-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.runtime-showcase-card .run-panel-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.runtime-showcase-card .run-panel-kicker {
  color: var(--runtime-muted);
  font-family: var(--font-chat-mono);
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.runtime-showcase-card .run-panel-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 87, 0.18);
  background: rgba(217, 119, 87, 0.12);
  color: #ffe8de;
  font-family: var(--font-chat-mono);
  font-size: 10.5px;
  line-height: 1;
}

.runtime-showcase-card .run-panel-task {
  max-width: 100%;
  color: var(--runtime-ink);
  font-family: var(--font-chat-user-sans);
  font-size: 13.5px;
  line-height: 1.6;
  font-weight: 400;
}

.runtime-showcase-card .run-panel-meta,
.runtime-showcase-card .run-panel-outputs {
  color: var(--runtime-muted);
  font-family: var(--font-chat-mono);
  font-size: 11px;
  line-height: 1.6;
}

.runtime-showcase-card .run-panel-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 18px 0;
}

.runtime-showcase-card .run-panel-summary-item {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.runtime-showcase-card .run-panel-summary-label {
  display: block;
  color: var(--runtime-muted);
  font-family: var(--font-chat-mono);
  font-size: 10.5px;
  line-height: 1.3;
  text-transform: uppercase;
}

.runtime-showcase-card .run-panel-summary-value {
  margin-top: 4px;
  color: var(--runtime-ink-soft);
  font-family: var(--font-chat-user-sans);
  font-size: 12.5px;
  line-height: 1.6;
  font-weight: 300;
}

.runtime-showcase-card .run-panel-stream {
  flex: 1;
  min-height: 0;
  padding: 10px 18px 14px;
  display: grid;
  gap: 0;
}

.runtime-showcase-card .run-stream-entry {
  display: block;
  min-height: auto;
  padding: 10px 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.runtime-showcase-card .run-stream-entry:last-child {
  border-bottom: 0;
  padding-bottom: 6px;
}

.runtime-showcase-card .run-stream-entry-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.runtime-showcase-card .run-stream-entry-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 10px;
}

.runtime-showcase-card .run-stream-entry-title {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: wrap;
}

.runtime-showcase-card .run-stream-entry-icon {
  flex: 0 0 auto;
  min-width: 5ch;
  color: var(--runtime-muted);
  font-family: var(--font-chat-mono);
  font-size: 11px;
  line-height: 1.32;
}

.runtime-showcase-card .run-stream-entry-icon.status-running {
  color: var(--runtime-accent);
}

.runtime-showcase-card .run-stream-entry-icon.status-done {
  color: #d4cec4;
}

.runtime-showcase-card .run-stream-entry-icon.status-pending {
  color: #8a8479;
}

.runtime-showcase-card .run-stream-entry-label {
  min-width: 0;
  color: var(--runtime-ink);
  font-family: var(--font-chat-mono);
  font-size: 11px;
  line-height: 1.32;
  font-weight: 500;
  text-transform: lowercase;
}

.runtime-showcase-card .run-stream-entry-state {
  flex-shrink: 0;
  min-width: 2.5ch;
  color: var(--runtime-muted);
  font-family: var(--font-chat-mono);
  font-size: 11px;
  line-height: 1.38;
  text-transform: lowercase;
}

.runtime-showcase-card .run-stream-entry-text {
  margin-top: -1px;
  color: var(--runtime-ink-soft);
  font-family: var(--font-chat-user-sans);
  font-size: 13px;
  line-height: 1.68;
  font-weight: 300;
}

.runtime-showcase-card .run-stream-entry.status-running .run-stream-entry-text {
  color: var(--runtime-ink);
}

.runtime-showcase-appbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 2px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.runtime-showcase-appname {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--runtime-ink-soft);
  font-size: 0.78rem;
  line-height: 1.4;
  font-family: var(--font-chat-mono);
}

.runtime-showcase-appmeta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.runtime-showcase-appchip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--runtime-line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--runtime-muted);
  font-family: var(--font-chat-mono);
  font-size: 0.68rem;
  line-height: 1;
}

.runtime-showcase-appchip.is-active {
  color: #fff1e8;
  background: rgba(217, 119, 87, 0.12);
  border-color: rgba(217, 119, 87, 0.22);
}

.runtime-showcase-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 14px;
  margin-top: 18px;
  align-items: stretch;
}

.runtime-showcase-chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 620px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(248, 246, 241, 0.98), rgba(241, 237, 230, 0.96));
  border: 1px solid rgba(114, 105, 94, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.runtime-showcase-chat-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(114, 105, 94, 0.12);
}

.runtime-showcase-chat-kicker {
  display: block;
  color: #8f867b;
  font-family: var(--font-chat-mono);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.runtime-showcase-chat-title {
  display: block;
  margin-top: 8px;
  color: #2f2b25;
  font-family: var(--font-chat-user-sans);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

.runtime-showcase-chat-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(114, 105, 94, 0.14);
  background: rgba(255, 250, 244, 0.82);
  color: #736b60;
  font-family: var(--font-chat-mono);
  font-size: 10.5px;
  line-height: 1;
  white-space: nowrap;
}

.runtime-showcase-chat-scroll {
  flex: 1;
  min-height: 0;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: hidden;
}

.runtime-showcase-msg {
  display: grid;
  gap: 6px;
  max-width: min(100%, 620px);
}

.runtime-showcase-msg-role {
  color: #8f867b;
  font-family: var(--font-chat-mono);
  font-size: 10.5px;
  line-height: 1.2;
  text-transform: uppercase;
}

.runtime-showcase-msg p {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  font-family: var(--font-chat-user-sans);
  font-size: 13.5px;
  line-height: 1.72;
  font-weight: 300;
}

.runtime-showcase-msg-user {
  justify-self: end;
  margin-left: auto;
}

.runtime-showcase-msg-user p {
  background: #252525;
  color: #f4efe6;
  border-radius: 16px 16px 6px 16px;
}

.runtime-showcase-msg-assistant p {
  background: rgba(255, 255, 255, 0.76);
  color: #2f2b25;
  border: 1px solid rgba(114, 105, 94, 0.12);
  border-radius: 16px 16px 16px 6px;
}

.runtime-showcase-msg-system {
  max-width: none;
}

.runtime-showcase-msg-system p {
  padding: 0;
  background: transparent;
  border: 0;
  color: #736b60;
  font-family: var(--font-chat-mono);
  font-size: 11.5px;
  line-height: 1.8;
}

.runtime-showcase-trace-shell,
.runtime-showcase-plan-shell {
  max-width: min(100%, 700px);
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(114, 105, 94, 0.12);
  background: rgba(255, 255, 255, 0.58);
}

.runtime-showcase-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: #8f867b;
  font-family: var(--font-chat-mono);
  font-size: 10.5px;
  line-height: 1.2;
  text-transform: uppercase;
}

.runtime-showcase-chat .thinking-panel {
  gap: 12px;
}

.runtime-showcase-chat .thinking-panel .msg-name {
  color: #3a342d;
}

.runtime-showcase-chat .thinking-state {
  color: #6f675d;
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.18);
}

.runtime-showcase-chat .thinking-bubble {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(148, 163, 184, 0.2);
}

.runtime-showcase-chat .thinking-bubble.active {
  background: rgba(255, 247, 242, 0.98);
  border-color: rgba(217, 119, 87, 0.2);
}

.runtime-showcase-chat .thinking-bubble-label {
  color: #8f867b;
}

.runtime-showcase-chat .thinking-bubble-text {
  color: #2f2b25;
}

.runtime-showcase-chat .thinking span {
  background: #8f867b;
}

.runtime-showcase-plan-shell .step-tracker {
  gap: 10px;
}

.runtime-showcase-plan-shell .step-tracker-status {
  color: #736b60;
}

.runtime-showcase-plan-shell .step-tracker-status-main,
.runtime-showcase-plan-shell .step-tracker-title,
.runtime-showcase-plan-shell .plan-goal {
  color: #2f2b25;
}

.runtime-showcase-plan-shell .step-tracker-spinner,
.runtime-showcase-plan-shell .step-icon.running {
  color: #8f6d3f;
}

.runtime-showcase-plan-shell .step-tracker-summary,
.runtime-showcase-plan-shell .plan-summary,
.runtime-showcase-plan-shell .step-detail {
  color: #5d554c;
}

.runtime-showcase-plan-shell .plan-item {
  color: #736b60;
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.18);
}

.runtime-showcase-plan-shell .plan-item.done {
  color: #334155;
}

.runtime-showcase-plan-shell .plan-item.running {
  color: #3c352d;
  background: rgba(217, 119, 87, 0.1);
  border-color: rgba(217, 119, 87, 0.2);
}

.runtime-showcase-plan-shell .step-label,
.runtime-showcase-plan-shell .step-tracker-toggle-text {
  color: #8f867b;
}

.runtime-showcase-composer {
  display: grid;
  gap: 12px;
  padding: 0 20px 20px;
  border-top: 1px solid rgba(114, 105, 94, 0.12);
  background: linear-gradient(180deg, rgba(241, 237, 230, 0.4), rgba(241, 237, 230, 0.82));
}

.runtime-showcase-chat .repair-bar {
  margin-top: 16px;
  border-color: rgba(114, 105, 94, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.runtime-showcase-chat .repair-bar-chip {
  border-color: rgba(114, 105, 94, 0.14);
  background: rgba(255, 250, 244, 0.86);
  color: #736b60;
}

.runtime-showcase-chat .repair-bar-headline {
  color: #2f2b25;
}

.runtime-showcase-chat .repair-bar-detail {
  color: #5d554c;
}

.runtime-showcase-chat .repair-bar-progress {
  background: rgba(114, 105, 94, 0.12);
}

.runtime-showcase-input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(114, 105, 94, 0.14);
  background: rgba(255, 255, 255, 0.86);
}

.runtime-showcase-model {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.9);
  border: 1px solid rgba(114, 105, 94, 0.14);
  color: #655d52;
  font-family: var(--font-chat-mono);
  font-size: 10.5px;
  line-height: 1;
  white-space: nowrap;
}

.runtime-showcase-placeholder {
  flex: 1;
  min-width: 0;
  color: #6f675d;
  font-family: var(--font-chat-user-sans);
  font-size: 12.75px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.runtime-showcase-send {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #252525;
  color: #f4efe6;
  font-family: var(--font-chat-mono);
  font-size: 11px;
  line-height: 1;
}

.runtime-showcase-run-panel {
  min-height: 620px;
}

.runtime-showcase-surface::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 24%),
    radial-gradient(circle at 82% 20%, rgba(217, 119, 87, 0.08), transparent 22%);
  opacity: 0.85;
  pointer-events: none;
}

.runtime-showcase-window {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.runtime-showcase-appcopy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.runtime-showcase-appname {
  color: var(--runtime-ink);
  font-size: 0.8rem;
  line-height: 1.2;
}

.runtime-showcase-approute {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--runtime-muted);
  font-size: 0.68rem;
  line-height: 1.2;
  font-family: var(--font-chat-mono);
}

.runtime-showcase-workbench {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10px minmax(320px, 390px);
  gap: 0;
  margin-top: 18px;
  align-items: stretch;
}

.runtime-showcase-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.runtime-showcase-divider::before {
  content: "";
  align-self: stretch;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.runtime-showcase-divider span {
  position: absolute;
  width: 3px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.runtime-showcase-chat {
  min-height: 650px;
}

.runtime-showcase-chat-scroll {
  max-width: 100%;
  padding: 18px 20px 14px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(114, 105, 94, 0.28) transparent;
}

.runtime-showcase-chat-scroll::-webkit-scrollbar {
  width: 8px;
}

.runtime-showcase-chat-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.runtime-showcase-chat-scroll::-webkit-scrollbar-thumb {
  background: rgba(114, 105, 94, 0.22);
  border-radius: 999px;
}

.runtime-showcase-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(100%, 720px);
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(114, 105, 94, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #736b60;
  font-family: var(--font-chat-mono);
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: normal;
}

.runtime-showcase-note::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #a58a60;
  flex: 0 0 auto;
}

.runtime-showcase-msg {
  max-width: min(100%, 700px);
}

.runtime-showcase-msg-system p {
  font-size: 11px;
}

.runtime-showcase-thinking-block {
  max-width: min(100%, 760px);
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(114, 105, 94, 0.12);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  display: grid;
  gap: 14px;
}

.runtime-showcase-thinking-block .thinking-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.runtime-showcase-thinking-block .thinking-panel .msg-name {
  color: #3a342d;
}

.runtime-showcase-thinking-block .thinking-state {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(148, 163, 184, 0.08);
  color: #6f675d;
}

.runtime-showcase-thinking-block .thinking-bubble {
  width: 100%;
  max-width: none;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px 16px 16px 6px;
  padding: 14px 16px 15px;
}

.runtime-showcase-thinking-block .thinking-bubble.active {
  background: rgba(255, 247, 242, 0.98);
  border-color: rgba(217, 119, 87, 0.2);
}

.runtime-showcase-thinking-block .thinking-bubble-label {
  color: #8f867b;
}

.runtime-showcase-thinking-block .thinking-bubble-text {
  color: #2f2b25;
}

.runtime-showcase-thinking-block .thinking span {
  background: #8f867b;
}

.runtime-showcase-thinking-block .step-tracker {
  display: grid;
  gap: 10px;
  padding: 0;
}

.runtime-showcase-thinking-block .step-tracker-status {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: #736b60;
}

.runtime-showcase-thinking-block .step-tracker-status-main,
.runtime-showcase-thinking-block .step-tracker-title,
.runtime-showcase-thinking-block .plan-goal {
  color: #2f2b25;
}

.runtime-showcase-thinking-block .step-tracker-spinner,
.runtime-showcase-thinking-block .step-icon.running {
  color: #8f6d3f;
}

.runtime-showcase-thinking-block .step-tracker-summary,
.runtime-showcase-thinking-block .plan-summary,
.runtime-showcase-thinking-block .step-detail {
  color: #5d554c;
}

.runtime-showcase-thinking-block .plan-item {
  color: #736b60;
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.18);
}

.runtime-showcase-thinking-block .plan-item.done {
  color: #334155;
}

.runtime-showcase-thinking-block .plan-item.running {
  color: #3c352d;
  background: rgba(217, 119, 87, 0.1);
  border-color: rgba(217, 119, 87, 0.2);
}

.runtime-showcase-thinking-block .step-label,
.runtime-showcase-thinking-block .step-tracker-toggle-text {
  color: #8f867b;
}

.runtime-showcase-process {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(114, 105, 94, 0.12);
}

.runtime-showcase-process .process-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.runtime-showcase-process .process-marker {
  color: #8f867b;
}

.runtime-showcase-process .process-marker.is-running {
  color: #8f6d3f;
}

.runtime-showcase-process .process-label {
  color: #8f867b;
}

.runtime-showcase-process .process-detail {
  color: #5d554c;
}

.runtime-showcase-process .process-line.running .process-detail {
  color: #2f2b25;
}

.runtime-showcase-card .task-plan-board {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(114, 105, 94, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.runtime-showcase-card .task-plan-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.runtime-showcase-card .task-plan-goal,
.runtime-showcase-card .task-plan-title {
  color: #2f2b25;
  font-family: var(--font-chat-user-sans);
}

.runtime-showcase-card .task-plan-goal {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.runtime-showcase-card .task-plan-phase,
.runtime-showcase-card .task-plan-detail {
  color: #5d554c;
  font-family: var(--font-chat-user-sans);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 300;
}

.runtime-showcase-board-state {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(114, 105, 94, 0.14);
  background: rgba(255, 250, 244, 0.82);
  color: #736b60;
  font-family: var(--font-chat-mono);
  font-size: 10.5px;
  line-height: 1;
  white-space: nowrap;
}

.runtime-showcase-card .task-plan-list {
  display: grid;
  gap: 10px;
}

.runtime-showcase-card .task-plan-item {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
}

.runtime-showcase-card .task-plan-index {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  color: #8f867b;
}

.runtime-showcase-card .task-plan-item.done .task-plan-index::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #7f8e99;
}

.runtime-showcase-card .task-plan-item.running .task-plan-index::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.6px solid #8f6d3f;
  border-top-color: transparent;
  box-sizing: border-box;
  animation: showcaseSpin 1s linear infinite;
}

.runtime-showcase-card .task-plan-item.pending .task-plan-index::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.4px solid rgba(114, 105, 94, 0.28);
  box-sizing: border-box;
}

.runtime-showcase-card .task-plan-body {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.runtime-showcase-card .task-plan-title {
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 400;
}

.runtime-showcase-chat .repair-bar {
  margin-top: 0;
}

.runtime-showcase-input {
  align-items: flex-end;
  padding: 12px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.runtime-showcase-model-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(114, 105, 94, 0.14);
  background: rgba(255, 250, 244, 0.9);
  color: #655d52;
  font-family: var(--font-chat-mono);
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
}

.runtime-showcase-model-btn svg {
  flex-shrink: 0;
  opacity: 0.72;
}

.runtime-showcase-input-field {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 6px;
}

.runtime-showcase-placeholder {
  display: block;
  color: #3c352d;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 300;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.runtime-showcase-input-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #8f867b;
  font-family: var(--font-chat-mono);
  font-size: 10.5px;
  line-height: 1.2;
}

.runtime-showcase-send {
  width: 34px;
  padding: 0;
  border: 1px solid rgba(21, 21, 20, 0.08);
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.runtime-showcase-send svg {
  display: block;
}

.runtime-showcase-run-panel {
  min-height: 0;
}

.runtime-showcase-card .run-panel {
  min-height: 650px;
  background: #2a2925;
}

.runtime-showcase-card .run-panel-header {
  padding: 16px 20px 12px;
  background: rgba(255, 255, 255, 0.02);
}

.runtime-showcase-card .run-panel-header-main {
  display: grid;
  gap: 2px;
}

.runtime-showcase-card .run-panel-kicker-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.runtime-showcase-panel-state {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(217, 119, 87, 0.18);
  background: rgba(217, 119, 87, 0.12);
  color: #ffe8de;
  font-family: var(--font-chat-mono);
  font-size: 10.5px;
  line-height: 1;
}

.runtime-showcase-card .run-panel-status-pill,
.runtime-showcase-card .run-panel-task,
.runtime-showcase-card .run-panel-meta,
.runtime-showcase-card .run-panel-outputs {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-chat-mono);
  font-size: 11px;
  line-height: 1.65;
  font-weight: 500;
}

.runtime-showcase-card .run-panel-status-pill {
  color: #f0e1d8;
}

.runtime-showcase-card .run-panel-task {
  color: #c8c1b4;
}

.runtime-showcase-card .run-panel-stream {
  padding: 12px 20px 18px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.runtime-showcase-card .run-panel-stream::-webkit-scrollbar {
  width: 8px;
}

.runtime-showcase-card .run-panel-stream::-webkit-scrollbar-track {
  background: transparent;
}

.runtime-showcase-card .run-panel-stream::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.runtime-showcase-card .run-stream-entry:last-of-type {
  border-bottom: 0;
  padding-bottom: 8px;
}

.runtime-showcase-card .run-stream-entry-icon.status-running {
  color: #d97757;
}

.runtime-showcase-card .run-stream-entry-icon.status-done {
  color: #a89573;
}

.runtime-showcase-card .run-panel-empty {
  padding-top: 10px;
  color: #9f988b;
  font-family: var(--font-chat-mono);
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 1200px) {
  .runtime-showcase-workbench {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .runtime-showcase-divider {
    display: none;
  }

  .runtime-showcase-chat,
  .runtime-showcase-card .run-panel {
    min-height: 0;
  }
}

@media (max-width: 920px) {
  .runtime-showcase-appbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .runtime-showcase-appmeta {
    justify-content: flex-start;
  }

  .runtime-showcase-chat-top {
    flex-direction: column;
  }

  .runtime-showcase-input {
    flex-wrap: wrap;
  }

  .runtime-showcase-send {
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .runtime-showcase-surface::before,
  .runtime-showcase-surface::after {
    inset: 14px;
    border-radius: 20px;
  }

  .runtime-showcase-chat,
  .runtime-showcase-card .run-panel {
    border-radius: 20px;
  }

  .runtime-showcase-chat-top,
  .runtime-showcase-chat-scroll,
  .runtime-showcase-composer,
  .runtime-showcase-card .run-panel-header,
  .runtime-showcase-card .run-panel-stream {
    padding-left: 14px;
    padding-right: 14px;
  }

  .runtime-showcase-thinking-block,
  .runtime-showcase-card .task-plan-board {
    padding: 14px;
  }

  .runtime-showcase-note {
    white-space: normal;
  }
}

@keyframes showcasePulse {
  0%, 100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

@keyframes showcaseSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.difference-intro {
  max-width: 44rem;
  margin-bottom: 30px;
}

.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.difference-card {
  min-height: 240px;
}

.difference-card.feature {
  background: linear-gradient(180deg, rgba(217, 119, 87, 0.08), rgba(255, 255, 255, 0.84));
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trust-item strong {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.docs-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 34px;
}

.docs-strip h3 {
  margin-top: 16px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.docs-meta {
  grid-template-columns: repeat(2, minmax(200px, 1fr));
}

.cta-section {
  padding-top: 146px;
}

.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  gap: 28px;
  align-items: center;
}

.cta-subtitle {
  margin: 16px 0 0;
  color: var(--lime-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.release-button {
  margin-top: 18px;
}

.download-note {
  margin-top: 12px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 88px;
  padding: 28px 30px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-item {
  min-width: 140px;
}

/* AaronCore client UI theme alignment (Dark / Coal + Clay) */
:root {
  --bg-0: #141412; /* app base */
  --bg-1: #181715; /* subtle raised black */
  --bg-2: #201f1c; /* inset runtime surface */
  --surface: #181715; /* shell */
  --surface-strong: #262624; /* panel */
  --surface-soft: #2a2927; /* assistive panel */
  --surface-selected: #2f2e2b; /* active / selected */
  --line: rgba(108, 106, 96, 0.25);
  --line-strong: rgba(108, 106, 96, 0.34);
  --text: #e5e5e2; /* text-primary */
  --muted: #ceccc5; /* text-secondary */
  --muted-soft: #a6a39b; /* text-label */
  --label: #8d897f;
  --accent: #d97757; /* clay */
  --accent-soft: rgba(217, 119, 87, 0.06);
  --accent-2: #141412; /* emphasis black */
  --cyan: var(--accent);
  --cyan-deep: #f5f4ef; /* chat-bright */
  --lime: #181715;
  --lime-deep: #2a2927;
  --amber: #d97757;
  --shadow-lg: none;
  --shadow-md: none;
}

body {
  background: var(--bg-0);
}

.ambient {
  display: none;
}

.topbar {
  background: var(--bg-0);
  backdrop-filter: none;
}

.topbar::before {
  background: var(--bg-0);
}

.brand-mark {
  background: var(--surface-selected);
  border: 1px solid var(--line);
  box-shadow: none;
}

.brand-copy strong,
.hero-title {
  color: var(--text);
}

.topnav {
  color: var(--muted-soft);
}

.topnav a.is-active,
.topnav a[aria-current="page"] {
  background: var(--bg-1);
  color: var(--cyan-deep);
}

.topnav a:hover {
  background: var(--surface-soft);
  color: var(--text);
}

.button-secondary {
  background: var(--bg-1);
  color: var(--cyan-deep);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button.disabled,
.button[aria-disabled="true"] {
  background: var(--bg-1);
  color: var(--muted-soft);
  border-color: var(--line);
}

.eyebrow,
.section-tag,
.card-kicker,
.stage-state,
.download-note,
.proof-tabs,
.feature-ribbon span,
.memory-pills span,
.matrix-grid span,
.repair-loop span {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.hero-shell,
.process-shell,
.capability-feature,
.capability-side,
.capability-wide,
.proof-shell,
.use-card,
.difference-card,
.difference-shell,
.docs-strip,
.cta-shell,
.release-card,
.footer {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero-intro::before {
  background: none;
}

.stage-head,
.stage-display,
.stage-side-card,
.route-node,
.display-panel,
.rail-card,
.stream-line,
.memory-card,
.trust-item,
.chat-bubble,
.exec-step,
.task-node,
.stage-metric,
.release-card,
.mini-ui {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: none;
}

.stage-head {
  background: var(--bg-1);
}

.stage-display {
  background: var(--surface);
}

.stage-display::before {
  background-image:
    linear-gradient(rgba(240, 240, 240, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 240, 240, 0.04) 1px, transparent 1px);
}

.stage-display::after {
  display: none;
}

.display-panel-accent,
.chat-bubble.agent,
.exec-step.active,
.difference-card.feature {
  background: var(--surface-soft);
  border-color: var(--line-strong);
}

.rail-card.is-active {
  background: var(--surface-selected);
  border-color: var(--line-strong);
}

.rail-card > span,
.node-index,
.task-node span {
  background: rgba(217, 119, 87, 0.10);
  border: 1px solid rgba(217, 119, 87, 0.18);
  color: var(--accent);
}

.process-line {
  background: var(--line);
}

.proof-tab.is-active {
  background: var(--surface-selected);
  color: var(--cyan-deep);
}

.feature-ribbon span,
.memory-pills span,
.matrix-grid span,
.repair-loop span {
  box-shadow: none;
}

.repair-loop .arrow,
.topnav a:hover,
.proof-tab.is-active,
.stream-line.is-active {
  color: var(--accent);
}

.mini-ui,
.proof-tabs {
  background: var(--bg-1);
}

.top-cta,
.button-primary {
  color: var(--cyan-deep);
  background: var(--accent-2);
  border: 1px solid rgba(217, 119, 87, 0.18);
  box-shadow: none;
}

.core-wave,
.core-ring,
.core-arc,
.core-orbit,
.core-node,
.core-center-track,
.core-center-orbit,
.core-center-dot {
  will-change: transform;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 540ms ease, transform 540ms ease;
}

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

@keyframes drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 24px, 0) scale(1.05);
  }
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spin-reverse {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes sweep {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(100%);
  }
}

@keyframes neuronFieldDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(0.98);
    opacity: 0.6;
  }
  50% {
    transform: translate3d(-1.8%, 1.4%, 0) scale(1.04);
    opacity: 0.9;
  }
}

@keyframes neuronFieldDriftAlt {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1.01);
    opacity: 0.46;
  }
  50% {
    transform: translate3d(1.6%, -1.2%, 0) scale(1.05);
    opacity: 0.74;
  }
}

@keyframes heroFieldDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(0.98);
    opacity: 0.72;
  }
  50% {
    transform: translate3d(-1.5%, 1.2%, 0) scale(1.02);
    opacity: 0.92;
  }
}

@keyframes heroFieldDriftAlt {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate3d(1.2%, -1%, 0) scale(1.03);
    opacity: 0.8;
  }
}

@keyframes coreArcDriftA {
  from {
    transform: translate(calc(-50% + var(--arc-shift-x, 0px)), calc(-50% + var(--arc-shift-y, 0px))) rotate(var(--arc-angle, 0deg));
  }
  to {
    transform: translate(calc(-50% + var(--arc-shift-x, 0px)), calc(-50% + var(--arc-shift-y, 0px))) rotate(calc(var(--arc-angle, 0deg) + 1turn));
  }
}

@keyframes coreArcDriftB {
  from {
    transform: translate(calc(-50% + var(--arc-shift-x, 0px)), calc(-50% + var(--arc-shift-y, 0px))) rotate(calc(var(--arc-angle, 0deg) + 1turn));
  }
  to {
    transform: translate(calc(-50% + var(--arc-shift-x, 0px)), calc(-50% + var(--arc-shift-y, 0px))) rotate(var(--arc-angle, 0deg));
  }
}

@keyframes coreOrbit {
  from {
    transform: translate(calc(-50% + var(--orbit-shift-x, 0px)), calc(-50% + var(--orbit-shift-y, 0px))) rotate(var(--orbit-angle, 0deg));
  }
  to {
    transform: translate(calc(-50% + var(--orbit-shift-x, 0px)), calc(-50% + var(--orbit-shift-y, 0px))) rotate(calc(var(--orbit-angle, 0deg) + 1turn));
  }
}

@keyframes coreOrbitReverse {
  from {
    transform: translate(calc(-50% + var(--orbit-shift-x, 0px)), calc(-50% + var(--orbit-shift-y, 0px))) rotate(calc(var(--orbit-angle, 0deg) + 1turn));
  }
  to {
    transform: translate(calc(-50% + var(--orbit-shift-x, 0px)), calc(-50% + var(--orbit-shift-y, 0px))) rotate(var(--orbit-angle, 0deg));
  }
}

@media (prefers-reduced-motion: reduce) {
  .core-stage::before,
  .core-stage::after,
  .core-wave,
  .core-ring,
  .core-arc,
  .core-orbit,
  .core-node,
  .core-center-track,
  .core-center-orbit {
    animation: none !important;
  }

  .memory-signal {
    display: none;
  }

  .memory-node::after {
    animation: none !important;
  }
}

@media (max-width: 1200px) {
  .stage-main,
  .runtime-showcase-layout,
  .capability-layout,
  .capability-columns,
  .use-case-layout,
  .trust-layout,
  .cta-shell,
  .docs-strip {
    grid-template-columns: 1fr;
  }

  .stage-footer,
  .process-shell,
  .task-pane,
  .difference-grid,
  .trust-list,
  .docs-meta {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-intro {
    --hero-pad-top: 44px;
    --hero-pad-x: 32px;
    --hero-pad-bottom: 18px;
    padding: var(--hero-pad-top) var(--hero-pad-x) var(--hero-pad-bottom);
  }

  .hero-top {
    min-height: 0;
  }

  .hero-core-visual {
    position: relative;
    inset: auto;
    min-height: 380px;
    margin-top: 20px;
  }

  .hero-neuron-stage {
    transform: translateX(-1%) scale(1.05);
  }

  .hero-core-stage,
  .memory-network-neuron {
    mask-image: linear-gradient(90deg, transparent 0 6%, rgba(255, 255, 255, 0.1) 22%, rgba(255, 255, 255, 0.86) 42%, rgba(255, 255, 255, 1) 58%);
  }

  .memory-stage {
    --memory-scale: 0.97;
  }

  .hero-stage {
    padding: 0 18px 18px;
  }

  .hero-copy {
    width: min(100%, 52rem);
  }

  .stage-display {
    min-height: 620px;
  }

  .runtime-overview {
    min-height: 0;
  }

  .runtime-row {
    padding: 24px 30px;
  }

  .display-copy h2 {
    max-width: 14ch;
  }
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .topnav,
  .top-cta {
    justify-self: start;
  }

  .topnav {
    width: 100%;
    gap: 6px;
  }

  .topnav a {
    white-space: nowrap;
  }

  .hero-core-visual {
    min-height: 340px;
  }

  .hero-neuron-stage {
    transform: translateX(-1%) scale(1.01);
    transform-origin: 66% 46%;
  }

  .memory-stage {
    --memory-scale: 0.9;
  }

  .core-stage {
    --core-x: 58%;
    --core-y: 46%;
  }

  .stage-footer,
  .process-shell,
  .use-grid,
  .difference-grid,
  .trust-list,
  .docs-meta,
  .task-pane,
  .chat-pane,
  .stage-side {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .display-route,
  .display-panels {
    grid-template-columns: 1fr;
  }

  .runtime-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .runtime-summary .stage-side-card + .stage-side-card,
  .runtime-detail .stage-side-card + .stage-side-card {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 18px;
  }

  .hero-runtime-shell .stage-metric + .stage-metric {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 18px;
  }

  .runtime-showcase-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .runtime-showcase-topmeta {
    justify-content: flex-start;
  }

  .runtime-showcase-card .run-panel-summary {
    grid-template-columns: 1fr;
  }

  .runtime-showcase-appbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .runtime-showcase-appmeta {
    justify-content: flex-start;
  }

  .runtime-showcase-chat,
  .runtime-showcase-run-panel {
    min-height: 0;
  }

  .runtime-showcase-panel,
  .runtime-showcase-card .run-panel {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .topbar,
  .page,
  .footer {
    width: min(1280px, calc(100% - 22px));
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.7rem);
    line-height: 0.96;
    gap: 0.08em;
  }

  .hero-title {
    font-size: 1.2rem;
  }

  .hero-subtitle,
  .hero-lede {
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  html[lang="zh-CN"] .hero h1 {
    font-size: clamp(2.3rem, 9.7vw, 3.55rem);
    line-height: 0.98;
  }

  html[lang="zh-CN"] .hero-title {
    font-size: 1.28rem;
    line-height: 1.36;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .topbar .brand-mark {
    width: 32px;
    height: 32px;
  }

  .top-cta,
  .button {
    width: 100%;
  }

  .hero-shell {
    border-radius: 28px;
  }

  .runtime-showcase-surface {
    padding: 14px;
  }

  .runtime-showcase-panel {
    padding: 14px;
  }

  .runtime-showcase-chat-top,
  .runtime-showcase-chat-scroll,
  .runtime-showcase-composer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .runtime-showcase-topbar {
    gap: 12px;
    padding-bottom: 12px;
  }

  .runtime-showcase-appbar {
    gap: 12px;
    padding-bottom: 12px;
  }

  .runtime-showcase-chat-top {
    flex-direction: column;
  }

  .runtime-showcase-card .process-line,
  .runtime-showcase-card .step-tracker-status {
    gap: 6px;
  }

  .runtime-showcase-card .process-label {
    flex-basis: auto;
  }

  .runtime-showcase-card .run-panel-header,
  .runtime-showcase-card .run-panel-summary,
  .runtime-showcase-card .run-panel-stream {
    padding-left: 14px;
    padding-right: 14px;
  }

  .runtime-showcase-input {
    padding: 12px;
  }

  .runtime-showcase-placeholder {
    white-space: normal;
  }

  .runtime-showcase-run-panel,
  .runtime-showcase-card .run-panel,
  .runtime-showcase-chat {
    min-height: 0;
  }

  .hero-intro {
    --hero-pad-top: 34px;
    --hero-pad-x: 22px;
    --hero-pad-bottom: 16px;
    padding: var(--hero-pad-top) var(--hero-pad-x) var(--hero-pad-bottom);
  }

  .hero-core-visual {
    min-height: 300px;
  }

  .hero-neuron-stage {
    transform: none;
  }

  .hero-core-stage,
  .memory-network-neuron {
    mask-image: linear-gradient(90deg, transparent 0 6%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.88) 38%, rgba(255, 255, 255, 1) 54%);
  }

  .memory-stage {
    --memory-scale: 0.82;
  }

  .hero-stage {
    padding: 0 14px 14px;
  }

  .hero-copy {
    width: 100%;
  }

  .core-stage {
    --core-x: 57%;
    --core-y: 46%;
  }

  .stage-main {
    padding: 16px 0 0;
  }

  .stage-display,
  .stage-side-card {
    border-radius: 24px;
  }

  .stage-display {
    min-height: 540px;
    padding: 24px;
  }

  .runtime-overview {
    min-height: 0;
    padding: 24px 22px 20px;
  }

  .runtime-row {
    padding: 20px 22px;
  }

  .display-copy h2 {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  .display-copy p {
    font-size: 1rem;
  }

  .display-route,
  .stage-footer {
    grid-template-columns: 1fr;
  }

  .process-shell,
  .capability-feature,
  .capability-side,
  .capability-wide,
  .proof-shell,
  .difference-shell,
  .docs-strip,
  .cta-shell {
    padding: 22px;
  }

  .section {
    padding-top: 96px;
  }

  .section-light,
  .section-medium,
  .section-heavy {
    padding-top: 96px;
  }

.cta-section {
  padding-top: 112px;
  }
}

/* Homepage runtime client shell */
.runtime-client-card {
  padding: 0;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 246, 240, 0.9)),
    var(--surface-strong);
  box-shadow: 0 34px 72px rgba(15, 23, 42, 0.12);
}

.runtime-client-window {
  min-height: 740px;
  background: #faf9f5;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 30px;
  overflow: hidden;
}

.runtime-client-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
}

.runtime-client-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4b5563;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
}

.runtime-client-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.runtime-client-topbar-spacer {
  flex: 1;
}

.runtime-client-body {
  display: flex;
  min-height: 700px;
}

.runtime-client-sidebar {
  width: 204px;
  flex: 0 0 204px;
  padding: 18px 0;
  border-right: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, #f7f4ee 0%, #f1ede6 100%);
  box-shadow: 2px 0 18px rgba(22, 22, 24, 0.06);
}

.runtime-client-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 14px;
}

.runtime-client-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #334155;
  font: inherit;
  text-align: left;
  cursor: default;
  transition: background 0.18s ease, color 0.18s ease;
}

.runtime-client-nav-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.runtime-client-nav-item span {
  font-size: 0.95rem;
  font-weight: 600;
}

.runtime-client-nav-item.is-active {
  background: #e5e7eb;
  color: #374151;
}

.runtime-client-main {
  display: flex;
  flex: 1;
  min-width: 0;
  background: #faf9f5;
}

.runtime-client-chat-stage {
  position: relative;
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 700px;
  background: #faf9f5;
}

.runtime-client-chat-scroll {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 20px 18px 180px;
}

.runtime-client-chat-scroll::before {
  content: "";
  flex: 1 0 92px;
}

.runtime-client-event-note,
.runtime-client-msg,
.runtime-client-thinking {
  width: min(94%, 640px);
}

.runtime-client-event-note {
  color: rgba(92, 102, 116, 0.72);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.runtime-client-msg {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.runtime-client-msg-role {
  color: #8a8176;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.runtime-client-msg p,
.runtime-client-thinking p,
.runtime-client-run-entry p {
  margin: 0;
}

.runtime-client-msg-user {
  align-items: flex-end;
}

.runtime-client-msg-user p {
  max-width: min(100%, 100%);
  padding: 10px 14px;
  border: 0;
  border-radius: 16px;
  background: #efebe5;
  color: #171310;
  box-shadow: none;
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 300;
}

.runtime-client-msg-assistant {
  color: #171310;
}

.runtime-client-assistant-copy {
  max-width: 100%;
  color: #171310;
  font-size: 1rem;
  line-height: 1.76;
}

.runtime-client-thinking {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.runtime-client-thinking-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 700;
}

.runtime-client-thinking-name {
  color: #0f172a;
}

.runtime-client-thinking-state {
  color: #8b7f70;
  text-transform: lowercase;
}

.runtime-client-thinking-bubble {
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.runtime-client-thinking-label {
  display: inline-flex;
  margin-bottom: 8px;
  color: #8b7f70;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.runtime-client-thinking-bubble p {
  color: #1f2937;
  line-height: 1.75;
}

.runtime-client-plan-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(244, 240, 232, 0.94);
  border: 1px solid rgba(217, 211, 201, 0.72);
}

.runtime-client-plan-title {
  color: #111827;
  font-size: 0.92rem;
  font-weight: 700;
}

.runtime-client-plan-summary {
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.7;
}

.runtime-client-plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.runtime-client-plan-tags span,
.runtime-client-task-item {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #6b7280;
  font-size: 0.76rem;
  font-weight: 600;
}

.runtime-client-plan-tags .is-done,
.runtime-client-task-item.is-done {
  color: #166534;
  background: rgba(220, 252, 231, 0.9);
}

.runtime-client-plan-tags .is-running,
.runtime-client-task-item.is-running {
  color: #9a3412;
  background: rgba(254, 215, 170, 0.9);
}

.runtime-client-step-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.runtime-client-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.88);
}

.runtime-client-step-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: #cbd5e1;
  box-shadow: 0 0 0 4px rgba(241, 245, 249, 0.9);
}

.runtime-client-step.is-done .runtime-client-step-dot {
  background: #16a34a;
}

.runtime-client-step.is-running .runtime-client-step-dot {
  background: #f59e0b;
}

.runtime-client-step strong {
  display: block;
  color: #111827;
  font-size: 0.86rem;
  font-weight: 700;
}

.runtime-client-step p {
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.85rem;
  line-height: 1.7;
}

.runtime-client-composer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 18px 16px;
  background: linear-gradient(180deg, rgba(250, 249, 245, 0) 0%, rgba(250, 249, 245, 0.88) 24%, #faf9f5 52%);
}

.runtime-client-task-board,
.runtime-client-composer .repair-bar,
.runtime-client-input-shell {
  width: min(94%, 640px);
}

.runtime-client-task-board {
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.runtime-client-task-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.runtime-client-task-title {
  color: #3c352d;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.runtime-client-task-summary {
  margin-top: 5px;
  color: #5d554c;
  font-size: 0.84rem;
  line-height: 1.6;
}

.runtime-client-task-live {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(254, 215, 170, 0.75);
  color: #9a3412;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.runtime-client-task-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.runtime-client-composer .repair-bar {
  padding: 0;
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.runtime-client-composer .repair-bar-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px 9px;
  border-radius: 14px 14px 0 0;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom: none;
}

.runtime-client-composer .repair-bar-icon {
  display: flex;
}

.runtime-client-composer .repair-bar-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.4);
  color: #7f8e99;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.runtime-client-composer .repair-bar-text {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.runtime-client-composer .repair-bar-headline {
  color: #3c352d;
  font-size: 0.78rem;
  font-weight: 600;
}

.runtime-client-composer .repair-bar-detail {
  color: #5f564a;
  font-size: 0.78rem;
  line-height: 1.65;
  font-weight: 300;
}

.runtime-client-composer .repair-bar-progress {
  height: 1px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
}

.runtime-client-composer .repair-bar-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: #8f867b;
}

.runtime-client-input-shell {
  display: flex;
  flex-direction: column;
  min-height: 128px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(118%) blur(22px);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.48) inset;
}

.runtime-client-input-stage {
  width: 100%;
  min-height: 78px;
  padding: 16px 20px 12px;
  box-sizing: border-box;
}

.runtime-client-model {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(21, 21, 20, 0.08);
  border-radius: 12px;
  background: rgba(239, 235, 228, 0.88);
  color: #676158;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
}

.runtime-client-input-placeholder {
  display: block;
  color: rgba(100, 116, 139, 0.45);
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 300;
}

.runtime-client-input-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 6px 16px 12px;
  box-sizing: border-box;
  color: #64748b;
}

.runtime-client-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #6a6258;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 11px;
}

.runtime-client-tool-btn svg {
  width: 18px;
  height: 18px;
}

.runtime-client-input-toolbar-spacer {
  flex: 1;
}

.runtime-client-shortcut {
  color: rgba(100, 116, 139, 0.35);
  font-size: 0.69rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.runtime-client-run-panel {
  display: flex;
  width: 390px;
  min-width: 340px;
  flex: 0 0 390px;
  flex-direction: column;
  border-left: 1px solid rgba(21, 21, 20, 0.08);
  background: #f6f4ef;
}

.runtime-client-run-header,
.runtime-client-run-stream {
  padding: 16px 20px 12px;
}

.runtime-client-run-header {
  border-bottom: 1px solid rgba(114, 105, 94, 0.12);
  background: #f6f4ef;
  color: #4f473d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.69rem;
  line-height: 1.6;
}

.runtime-client-run-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 6px;
}

.runtime-client-run-kicker {
  color: #4f473d;
}

.runtime-client-run-status,
.runtime-client-run-elapsed,
.runtime-client-run-meta,
.runtime-client-run-outputs {
  color: #4f473d;
  white-space: pre-wrap;
}

.runtime-client-run-close {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(21, 21, 20, 0.08);
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 21, 20, 0.03);
  color: #736b60;
  padding: 0;
}

.runtime-client-run-close svg {
  display: block;
}

.runtime-client-run-stream {
  display: block;
  flex: 1;
  min-height: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  padding: 12px 20px 20px;
}

.runtime-client-run-entry {
  padding: 10px 0 12px;
  border: 0;
  color: #5f564a;
}

.runtime-client-run-entry-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 10px;
  margin-bottom: 4px;
  font-size: 0.69rem;
}

.runtime-client-run-entry-title {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: wrap;
}

.runtime-client-run-entry-live {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 2px;
}

.runtime-client-run-entry-live span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  animation: runtimeClientRunPulse 1.4s infinite;
}

.runtime-client-run-entry-live span:nth-child(2) {
  animation-delay: 0.2s;
}

.runtime-client-run-entry-live span:nth-child(3) {
  animation-delay: 0.4s;
}

.runtime-client-run-entry-index {
  color: #5a5248;
}

.runtime-client-run-entry-label {
  color: #3a342d;
  text-transform: lowercase;
}

.runtime-client-run-entry-state {
  margin-left: auto;
  color: #908577;
  text-transform: lowercase;
}

.runtime-client-run-entry p {
  color: #5f564a;
  font-size: 0.81rem;
  line-height: 1.72;
}

.runtime-client-run-entry.is-done .runtime-client-run-entry-label,
.runtime-client-run-entry.is-done .runtime-client-run-entry-state {
  color: #6f675d;
}

.runtime-client-run-entry.is-running .runtime-client-run-entry-label,
.runtime-client-run-entry.is-running .runtime-client-run-entry-state {
  color: #8f6d3f;
}

.runtime-client-run-tail {
  color: #736b60;
  font-size: 0.69rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding-top: 10px;
}

@media (max-width: 1280px) {
  .runtime-client-run-panel {
    width: 356px;
    min-width: 320px;
    flex-basis: 356px;
  }
}

@media (max-width: 1100px) {
  .runtime-client-body,
  .runtime-client-main {
    flex-direction: column;
  }

  .runtime-client-sidebar {
    width: 100%;
    flex: none;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  .runtime-client-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
  }

  .runtime-client-nav-item {
    width: auto;
    min-width: 104px;
    justify-content: center;
  }

  .runtime-client-run-panel {
    width: 100%;
    min-width: 0;
    flex: none;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .runtime-client-card,
  .runtime-client-window {
    border-radius: 24px;
  }

  .runtime-client-topbar {
    padding: 0 14px;
  }

  .runtime-client-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .runtime-client-nav-item {
    min-width: 0;
    padding: 11px 10px;
    gap: 8px;
    justify-content: center;
  }

  .runtime-client-nav-item span {
    font-size: 0.84rem;
  }

  .runtime-client-chat-stage {
    min-height: 0;
    flex-direction: column;
  }

  .runtime-client-chat-scroll {
    flex: none;
    padding: 20px 16px 24px;
  }

  .runtime-client-chat-scroll::before {
    flex-basis: 20px;
  }

  .runtime-client-composer {
    position: relative;
    padding: 0 16px 18px;
    background: none;
  }

  .runtime-client-task-head,
  .runtime-client-input-toolbar {
    align-items: flex-start;
  }

  .runtime-client-input-toolbar {
    flex-wrap: wrap;
  }

  .runtime-client-input-toolbar-spacer {
    display: none;
  }

  .runtime-client-shortcut {
    width: 100%;
    text-align: right;
  }

  .runtime-client-run-header,
  .runtime-client-run-stream {
    padding: 16px;
  }
}

/* Homepage runtime client shell dark refinement */
.runtime-client-sidebar {
  display: none !important;
}

.runtime-client-card {
  background:
    linear-gradient(180deg, rgba(22, 22, 24, 0.98), rgba(20, 20, 18, 0.98)),
    #141412;
  box-shadow: 0 34px 72px rgba(0, 0, 0, 0.34);
}

.runtime-client-window {
  min-height: 720px;
  background: #161618;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.runtime-client-topbar {
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #161618;
}

.runtime-client-brand {
  color: #ebebf0;
  font-size: 1.12rem;
}

.runtime-client-body {
  min-height: 660px;
}

.runtime-client-main {
  align-items: stretch;
  background: #161618;
}

.runtime-client-chat-stage {
  min-height: 660px;
  background: linear-gradient(180deg, #1e1e20 0%, #161618 100%);
}

.runtime-client-chat-scroll {
  gap: 14px;
  padding: 22px 22px 170px;
}

.runtime-client-chat-scroll::before {
  flex-basis: 80px;
}

.runtime-client-event-note,
.runtime-client-msg,
.runtime-client-thinking,
.runtime-client-input-shell {
  width: min(92%, 780px);
}

.runtime-client-event-note {
  color: rgba(177, 167, 150, 0.78);
}

.runtime-client-msg-role {
  color: rgba(159, 152, 139, 0.78);
}

.runtime-client-msg-user p {
  width: auto;
  max-width: min(100%, 640px);
  background: #2b2925;
  color: #f1ede3;
  border-radius: 16px 4px 16px 16px;
  font-weight: 300;
}

.runtime-client-msg-assistant,
.runtime-client-assistant-copy {
  color: #f1ede3;
}

.runtime-client-assistant-copy ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.runtime-client-assistant-copy li {
  margin: 0 0 8px;
  color: #c8c1b4;
  line-height: 1.78;
}

.runtime-client-thinking-head {
  color: #9f988b;
}

.runtime-client-thinking-name {
  color: #f1ede3;
}

.runtime-client-thinking-state {
  color: #9f988b;
}

.runtime-client-thinking-bubble,
.runtime-client-plan-strip,
.runtime-client-step {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(42, 41, 37, 0.84);
}

.runtime-client-thinking-label {
  color: #c8c1b4;
}

.runtime-client-thinking-bubble p {
  color: #f1ede3;
}

.runtime-client-plan-title,
.runtime-client-step strong {
  color: #f1ede3;
}

.runtime-client-plan-summary,
.runtime-client-step p {
  color: #c8c1b4;
}

.runtime-client-plan-tags span,
.runtime-client-task-item {
  background: rgba(255, 255, 255, 0.05);
  color: #9f988b;
}

.runtime-client-plan-tags .is-done,
.runtime-client-task-item.is-done {
  color: #d7d0c2;
  background: rgba(255, 255, 255, 0.09);
}

.runtime-client-plan-tags .is-running,
.runtime-client-task-item.is-running {
  color: #f0d4a3;
  background: rgba(171, 148, 103, 0.14);
}

.runtime-client-step-dot {
  background: #7c8aa0;
  box-shadow: 0 0 0 4px rgba(124, 138, 160, 0.12);
}

.runtime-client-step.is-done .runtime-client-step-dot {
  background: #a89573;
}

.runtime-client-step.is-running .runtime-client-step-dot {
  background: #d7b26d;
}

.runtime-client-composer {
  padding: 0 22px 20px;
  background: linear-gradient(180deg, rgba(22, 22, 24, 0) 0%, rgba(22, 22, 24, 0.9) 26%, #161618 58%);
}

.runtime-client-task-board,
.runtime-client-composer .repair-bar {
  display: none;
}

.runtime-client-input-shell {
  min-height: 116px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(48, 47, 44, 0.88);
  backdrop-filter: saturate(140%) blur(18px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.03) inset;
}

.runtime-client-input-stage {
  min-height: 70px;
  padding: 14px 20px 10px;
}

.runtime-client-model {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #c8c1b4;
}

.runtime-client-input-placeholder {
  color: rgba(148, 163, 184, 0.5);
}

.runtime-client-input-toolbar {
  color: #9f988b;
}

.runtime-client-tool-btn {
  color: #c8c1b4;
}

.runtime-client-shortcut {
  color: rgba(159, 152, 139, 0.58);
}

.runtime-client-run-panel {
  width: 390px;
  min-width: 350px;
  flex-basis: 390px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  background: #2a2925;
}

.runtime-client-run-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #2a2925;
  color: #c8c1b4;
}

.runtime-client-run-kicker,
.runtime-client-run-status,
.runtime-client-run-elapsed,
.runtime-client-run-meta,
.runtime-client-run-outputs {
  color: #c8c1b4;
}

.runtime-client-run-close {
  border-color: rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
  color: #7f8795;
}

.runtime-client-run-stream {
  background: #2a2925;
}

.runtime-client-run-entry {
  color: #c8c1b4;
}

.runtime-client-run-entry-index {
  color: #c8c1b4;
}

.runtime-client-run-entry-label {
  color: #c8c1b4;
}

.runtime-client-run-entry-state {
  color: #9f988b;
}

.runtime-client-run-entry p {
  color: #c8c1b4;
}

.runtime-client-run-entry.is-done .runtime-client-run-entry-label,
.runtime-client-run-entry.is-done .runtime-client-run-entry-state {
  color: #a89573;
}

.runtime-client-run-entry.is-running .runtime-client-run-entry-label,
.runtime-client-run-entry.is-running .runtime-client-run-entry-state {
  color: #d7d0c2;
}

.runtime-client-run-entry.is-running .runtime-client-run-entry-index {
  animation: runtimeClientRunningBlink 1.8s ease-in-out infinite;
}

.runtime-client-run-entry.is-running .runtime-client-run-entry-live {
  color: #d7d0c2;
}

.runtime-client-run-tail {
  color: #9f988b;
}

@keyframes runtimeClientRunningBlink {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.45; }
}

@keyframes runtimeClientRunPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 1100px) {
  .runtime-client-main {
    flex-direction: column;
  }

  .runtime-client-run-panel {
    width: 100%;
    min-width: 0;
    flex: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .runtime-client-topbar {
    padding: 0 14px;
  }

  .runtime-client-brand {
    font-size: 1.02rem;
  }

  .runtime-client-chat-scroll {
    padding: 20px 16px 24px;
  }

  .runtime-client-chat-scroll::before {
    flex-basis: 20px;
  }

  .runtime-client-composer {
    position: relative;
    padding: 0 16px 18px;
    background: none;
  }

  .runtime-client-input-toolbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .runtime-client-input-toolbar-spacer {
    display: none;
  }

  .runtime-client-shortcut {
    width: 100%;
    text-align: right;
  }
}
