:root {
  --bg: #05080d;
  --bg-deep: #0b1018;
  --panel: rgba(12, 17, 24, 0.78);
  --panel-strong: rgba(17, 23, 31, 0.94);
  --panel-soft: rgba(10, 14, 21, 0.72);
  --line: rgba(146, 163, 184, 0.18);
  --line-strong: rgba(198, 210, 224, 0.34);
  --text: #eef4fb;
  --muted: #96a3b5;
  --muted-strong: #c9d4e1;
  --signal: #77a9ff;
  --signal-soft: rgba(119, 169, 255, 0.18);
  --signal-strong: rgba(119, 169, 255, 0.34);
  --violet-sigil: rgba(129, 118, 255, 0.22);
  --shadow-lg: 0 28px 90px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 18px 54px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body), sans-serif;
  background:
    linear-gradient(180deg, rgba(24, 36, 50, 0.52) 0%, rgba(5, 8, 13, 0.96) 34%, #030405 100%),
    #030405;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

code {
  font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.thymos-page {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
}

.thymos-grid-haze {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.thymos-grid-haze {
  opacity: 0.52;
  background:
    linear-gradient(rgba(198, 210, 224, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 210, 224, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(119, 169, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 169, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 256px 256px, 256px 256px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18) 56%, transparent);
}

.thymos-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 13%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.03));
}

.thymos-shell {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.thymos-reveal {
  opacity: 0;
  animation: thymos-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.thymos-delay-1 {
  animation-delay: 0.08s;
}

.thymos-delay-2 {
  animation-delay: 0.16s;
}

.thymos-delay-3 {
  animation-delay: 0.24s;
}

.thymos-delay-4 {
  animation-delay: 0.32s;
}

.thymos-delay-5 {
  animation-delay: 0.4s;
}

.thymos-delay-6 {
  animation-delay: 0.48s;
}

.thymos-header,
.thymos-runtime-stage,
.thymos-sidecard,
.thymos-story-card,
.thymos-runtime-note,
.thymos-mechanism-shell,
.thymos-mechanism-card,
.thymos-mechanism-ledger,
.thymos-pillar-card,
.thymos-package-card,
.thymos-coding-panel,
.thymos-trajectory-panel,
.thymos-backend-card,
.thymos-workflow-card,
.thymos-cta-shell,
.thymos-command-card,
.thymos-footer {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 16%),
    linear-gradient(180deg, rgba(17, 23, 31, 0.96), rgba(10, 14, 20, 0.94));
  box-shadow: var(--shadow-lg);
}

.thymos-header::before,
.thymos-runtime-stage::before,
.thymos-sidecard::before,
.thymos-story-card::before,
.thymos-runtime-note::before,
.thymos-mechanism-shell::before,
.thymos-mechanism-card::before,
.thymos-pillar-card::before,
.thymos-package-card::before,
.thymos-coding-panel::before,
.thymos-trajectory-panel::before,
.thymos-backend-card::before,
.thymos-workflow-card::before,
.thymos-cta-shell::before,
.thymos-command-card::before,
.thymos-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 34%),
    linear-gradient(90deg, rgba(119, 169, 255, 0.04), transparent 22%, transparent 78%, rgba(119, 169, 255, 0.04));
}

.thymos-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.thymos-mark {
  width: 70px;
  height: 70px;
  flex: none;
  object-fit: contain;
  filter:
    saturate(0.88)
    drop-shadow(0 8px 24px rgba(129, 118, 255, 0.24))
    drop-shadow(0 0 18px rgba(119, 169, 255, 0.18));
}

.thymos-header .thymos-mark {
  width: 76px;
  height: 76px;
}

.thymos-footer .thymos-mark {
  width: 68px;
  height: 68px;
}

.thymos-wordmark {
  display: grid;
  gap: 3px;
}

.thymos-wordmark strong {
  font-family: var(--font-display), sans-serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: var(--text);
}

.thymos-wordmark span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.thymos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.thymos-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.thymos-nav a,
.thymos-header-cta,
.thymos-primary-action,
.thymos-secondary-action {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.thymos-nav a,
.thymos-header-cta {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display), sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.thymos-nav a {
  color: var(--muted);
}

.thymos-nav a:hover,
.thymos-secondary-action:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.thymos-header-cta,
.thymos-primary-action {
  border: 1px solid rgba(119, 169, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(133, 175, 255, 0.22), rgba(119, 169, 255, 0.08)),
    rgba(12, 18, 28, 0.94);
  color: var(--text);
  box-shadow: 0 16px 40px rgba(64, 105, 167, 0.24);
}

.thymos-header-cta:hover,
.thymos-primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(64, 105, 167, 0.32);
}

.thymos-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 132px);
  padding: 44px 0 26px;
}

.thymos-hero-copy {
  max-width: 650px;
}

.thymos-pill,
.thymos-kicker,
.thymos-card-label,
.thymos-stage-label,
.thymos-sidecard-label {
  font-family: var(--font-display), sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.thymos-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border: 1px solid rgba(119, 169, 255, 0.22);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(119, 169, 255, 0.08);
}

.thymos-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--signal);
  box-shadow: 0 0 16px rgba(119, 169, 255, 0.9);
}

.thymos-hero h1,
.thymos-section-head h2,
.thymos-story-card h3,
.thymos-runtime-note h3,
.thymos-mechanism-card h3,
.thymos-pillar-card h3,
.thymos-coding-panel h3,
.thymos-trajectory-panel h3,
.thymos-backend-card h3,
.thymos-workflow-card h3,
.thymos-cta-shell h2 {
  font-family: var(--font-display), sans-serif;
  letter-spacing: 0;
}

.thymos-hero h1 {
  margin: 18px 0 0;
  font-size: 6.4rem;
  line-height: 0.88;
  max-width: 10ch;
}

.thymos-hero-lede,
.thymos-section-head p,
.thymos-story-card p,
.thymos-runtime-note p,
.thymos-mechanism-card p,
.thymos-pillar-card p,
.thymos-coding-panel p,
.thymos-trajectory-panel p,
.thymos-backend-card p,
.thymos-workflow-card li,
.thymos-cta-shell p,
.thymos-footer-copy span,
.thymos-console-line span,
.thymos-sidecard p,
.thymos-stage-node p {
  color: var(--muted);
  line-height: 1.7;
}

.thymos-hero-lede {
  margin: 18px 0 0;
  font-size: 1.24rem;
  font-weight: 600;
  color: var(--muted-strong);
  max-width: 24ch;
}

.thymos-hero-subcopy {
  max-width: 58ch;
  margin-top: 18px;
  font-size: 1rem;
}

.thymos-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.thymos-primary-action,
.thymos-secondary-action {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.thymos-secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.thymos-launch-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.thymos-launch-chip,
.thymos-proof-chip,
.thymos-coding-badge,
.thymos-provider-chips span {
  border-radius: 999px;
  font-family: var(--font-display), sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.thymos-launch-chip {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
}

.thymos-hero-visual {
  position: relative;
  min-height: 680px;
}

.thymos-visual-stack {
  position: absolute;
  inset: 0;
  perspective: 1600px;
}

.thymos-runtime-stage {
  position: absolute;
  inset: 9% 6% 9% 8%;
  border-radius: 8px;
  padding: 22px;
  transform: rotateY(-11deg) rotateX(7deg);
  backdrop-filter: blur(18px);
}

.thymos-runtime-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.26)),
    linear-gradient(rgba(119, 169, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 169, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}

.thymos-stage-topline,
.thymos-console-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.thymos-stage-topline {
  position: relative;
  z-index: 1;
  color: var(--muted-strong);
  font-family: var(--font-display), sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thymos-stage-graph {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 72px;
}

.thymos-stage-node,
.thymos-sidecard {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 20%),
    rgba(10, 15, 22, 0.92);
  box-shadow: var(--shadow-md);
}

.thymos-stage-node {
  min-height: 194px;
  padding: 18px;
  border-radius: 8px;
}

.thymos-stage-label,
.thymos-sidecard-label,
.thymos-kicker,
.thymos-card-label {
  color: #cad8eb;
}

.thymos-stage-node strong,
.thymos-sidecard strong,
.thymos-story-metrics strong,
.thymos-mechanism-ledger strong,
.thymos-command-line code,
.thymos-trace-item strong,
.thymos-tool-row strong {
  display: block;
  color: var(--text);
}

.thymos-stage-node strong {
  margin-top: 12px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.thymos-stage-link {
  width: 64px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(119, 169, 255, 0), rgba(119, 169, 255, 0.92), rgba(119, 169, 255, 0));
  box-shadow: 0 0 18px rgba(119, 169, 255, 0.4);
}

.thymos-stage-console {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(5, 10, 15, 0.7);
}

.thymos-console-line strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.thymos-sidecard {
  position: absolute;
  width: 230px;
  padding: 18px;
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.thymos-sidecard-a {
  left: 0;
  top: 6%;
  transform: rotate(-7deg);
  animation: thymos-float-left-motion 10s ease-in-out infinite;
}

.thymos-sidecard-b {
  right: 0;
  bottom: 10%;
  transform: rotate(8deg);
  animation: thymos-float-right-motion 11s ease-in-out infinite;
}

.thymos-sidecard strong {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.35;
}

.thymos-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  padding-bottom: 10px;
}

.thymos-proof-chip {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
}

.thymos-section {
  margin-top: 38px;
}

.thymos-section-head {
  max-width: 860px;
  margin-bottom: 20px;
}

.thymos-section-head.compact {
  max-width: 760px;
}

.thymos-section-head h2 {
  margin: 12px 0 0;
  font-size: 3.3rem;
  line-height: 0.98;
}

.thymos-section-head p {
  max-width: 60ch;
  margin-top: 14px;
}

.thymos-runtime-grid,
.thymos-coding-grid,
.thymos-backend-grid,
.thymos-workflow-grid,
.thymos-package-grid,
.thymos-cta-shell {
  display: grid;
  gap: 18px;
}

.thymos-runtime-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.thymos-story-card,
.thymos-runtime-note,
.thymos-mechanism-card,
.thymos-pillar-card,
.thymos-package-card,
.thymos-coding-panel,
.thymos-trajectory-panel,
.thymos-backend-card,
.thymos-workflow-card,
.thymos-cta-shell,
.thymos-command-card,
.thymos-footer {
  border-radius: 8px;
}

.thymos-story-card,
.thymos-package-card,
.thymos-coding-panel,
.thymos-trajectory-panel,
.thymos-backend-card,
.thymos-workflow-card,
.thymos-command-card {
  padding: 24px;
}

.thymos-story-card h3,
.thymos-runtime-note h3,
.thymos-mechanism-card h3,
.thymos-pillar-card h3,
.thymos-package-card h3,
.thymos-coding-panel h3,
.thymos-trajectory-panel h3,
.thymos-backend-card h3,
.thymos-workflow-card h3 {
  margin: 12px 0 10px;
  font-size: 1.5rem;
  line-height: 1.08;
}

.thymos-story-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.thymos-story-metrics div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.thymos-story-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thymos-story-metrics strong {
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.thymos-runtime-notes,
.thymos-pillar-grid,
.thymos-package-grid {
  display: grid;
  gap: 18px;
}

.thymos-runtime-note,
.thymos-mechanism-card,
.thymos-pillar-card,
.thymos-package-card {
  padding: 22px;
}

.thymos-mechanism-shell {
  border-radius: 8px;
  padding: 26px;
}

.thymos-mechanism-rail {
  height: 1px;
  margin: 18px 10% 22px;
  background: linear-gradient(90deg, transparent, rgba(119, 169, 255, 0.8), transparent);
}

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

.thymos-mechanism-ledger {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.thymos-mechanism-ledger strong {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.55;
}

.thymos-pillar-grid,
.thymos-package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thymos-coding-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.thymos-coding-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.thymos-coding-badge {
  padding: 10px 14px;
  border: 1px solid rgba(119, 169, 255, 0.24);
  background: rgba(119, 169, 255, 0.08);
  color: var(--muted-strong);
}

.thymos-tool-table {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.thymos-tool-row {
  display: grid;
  grid-template-columns: 160px 88px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.thymos-tool-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.thymos-tool-row strong,
.thymos-trace-item strong {
  font-size: 0.95rem;
}

.thymos-tool-row span {
  color: var(--muted-strong);
  font-family: var(--font-display), sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.thymos-tool-row p {
  margin: 0;
}

.thymos-trace-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.thymos-trace-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.thymos-trace-item > span {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(119, 169, 255, 0.1);
  color: var(--muted-strong);
  font-family: var(--font-display), sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.thymos-trace-item p {
  margin: 6px 0 0;
}

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

.thymos-provider-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.thymos-provider-chips span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
}

.thymos-workflow-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.thymos-workflow-card li + li {
  margin-top: 10px;
}

.thymos-cta-shell {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  padding: 28px;
}

.thymos-cta-shell h2 {
  margin: 12px 0 0;
  font-size: 3.1rem;
  line-height: 0.98;
}

.thymos-package-card h3 {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.05rem;
  line-height: 1.45;
  word-break: break-word;
}

.thymos-package-command {
  margin-top: 18px;
}

.thymos-command-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 16%),
    linear-gradient(180deg, rgba(8, 12, 18, 0.98), rgba(7, 10, 15, 0.98));
}

.thymos-command-line {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.thymos-command-line span {
  color: var(--signal);
  font-family: var(--font-display), sans-serif;
}

.thymos-command-line code {
  color: var(--muted-strong);
  font-size: 0.96rem;
  word-break: break-word;
}

.thymos-footer {
  margin-top: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
}

.thymos-footer-copy {
  display: grid;
  gap: 6px;
  text-align: right;
}

.thymos-footer-copy strong {
  font-size: 0.98rem;
}

.thymos-runtime-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 64px;
  color: var(--text);
}

.thymos-runtime-grid {
  display: grid;
  gap: 18px;
}

.thymos-console-panel,
.thymos-console-sidebar,
.thymos-console-main,
.thymos-console-panel-soft,
.thymos-console-banner,
.thymos-empty-state,
.thymos-log-entry,
.thymos-ledger-entry,
.thymos-resource-card,
.thymos-stream-block,
.thymos-preview-card,
.thymos-realtime-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(146, 163, 184, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 16%),
    linear-gradient(180deg, rgba(10, 15, 22, 0.96), rgba(6, 9, 14, 0.96));
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.32);
}

.thymos-console-panel::before,
.thymos-console-sidebar::before,
.thymos-console-main::before,
.thymos-console-panel-soft::before,
.thymos-console-banner::before,
.thymos-empty-state::before,
.thymos-log-entry::before,
.thymos-ledger-entry::before,
.thymos-resource-card::before,
.thymos-stream-block::before,
.thymos-preview-card::before,
.thymos-realtime-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 30%),
    linear-gradient(rgba(119, 169, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 169, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

.thymos-runtime-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 20px;
  padding: 24px;
  border-radius: 8px;
}

.thymos-runtime-copy,
.thymos-runtime-form {
  position: relative;
  z-index: 1;
}

.thymos-runtime-copy {
  display: grid;
  gap: 18px;
}

.thymos-runtime-form {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 8px;
}

.thymos-eyebrow {
  color: rgba(119, 169, 255, 0.9);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.thymos-runtime-title {
  margin: 0;
  font-size: 2.9rem;
  line-height: 1.03;
  font-family: var(--font-display), sans-serif;
  max-width: 14ch;
}

.thymos-runtime-summary {
  margin: 0;
  color: rgba(223, 232, 243, 0.78);
  line-height: 1.75;
  max-width: 760px;
}

.thymos-runtime-chip-grid,
.thymos-console-stat-grid,
.thymos-suggestion-row,
.thymos-chip-row,
.thymos-control-grid {
  display: grid;
  gap: 12px;
}

.thymos-runtime-chip-grid,
.thymos-console-stat-grid,
.thymos-control-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.thymos-runtime-chip {
  border-radius: 8px;
  border: 1px solid rgba(146, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
  color: #d9e6f5;
  line-height: 1.55;
}

.thymos-console-banner {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 8px;
}

.thymos-console-banner strong,
.thymos-panel-title,
.thymos-empty-state strong {
  font-family: var(--font-display), sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.thymos-console-banner p,
.thymos-panel-copy,
.thymos-empty-state p {
  margin: 0;
  color: rgba(223, 232, 243, 0.76);
  line-height: 1.6;
}

.thymos-console-command {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(119, 169, 255, 0.2);
  background: rgba(7, 13, 19, 0.72);
}

.thymos-console-command span {
  color: var(--signal);
  font-family: var(--font-display), sans-serif;
}

.thymos-console-command code {
  color: #d9e6f5;
  word-break: break-word;
  font-size: 0.95rem;
}

.thymos-field {
  display: grid;
  gap: 8px;
}

.thymos-field-label {
  display: block;
  color: #c9d4e1;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.thymos-textarea,
.thymos-number-input,
.thymos-text-input,
.thymos-select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(146, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 18px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.thymos-number-input {
  width: 120px;
  border-radius: 999px;
  padding: 10px 14px;
}

.thymos-provider-field {
  min-width: 160px;
}

.thymos-model-field {
  flex: 1 1 260px;
}

.thymos-text-input,
.thymos-select {
  min-height: 46px;
  padding: 10px 14px;
  line-height: 1.35;
}

.thymos-select {
  appearance: none;
  padding-right: 42px;
  background:
    linear-gradient(45deg, transparent 50%, #c9d4e1 50%) calc(100% - 20px) 18px / 6px 6px no-repeat,
    linear-gradient(135deg, #c9d4e1 50%, transparent 50%) calc(100% - 14px) 18px / 6px 6px no-repeat,
    rgba(255, 255, 255, 0.04);
}

.thymos-text-input:disabled {
  color: rgba(201, 212, 225, 0.58);
  cursor: not-allowed;
}

.thymos-textarea:focus,
.thymos-number-input:focus,
.thymos-text-input:focus,
.thymos-select:focus {
  outline: none;
  border-color: rgba(119, 169, 255, 0.34);
  box-shadow: 0 0 0 3px rgba(119, 169, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.thymos-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
}

.thymos-provider-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.thymos-button,
.thymos-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.thymos-button {
  border: 1px solid rgba(119, 169, 255, 0.28);
  background:
    linear-gradient(180deg, rgba(133, 175, 255, 0.28), rgba(119, 169, 255, 0.1));
  box-shadow: 0 16px 40px rgba(64, 105, 167, 0.26);
  color: var(--text);
}

.thymos-button:hover:not(:disabled),
.thymos-button-secondary:hover:not(:disabled),
.thymos-tab:hover {
  transform: translateY(-1px);
}

.thymos-button:disabled {
  cursor: not-allowed;
  background: rgba(148, 163, 184, 0.18);
  box-shadow: none;
  border-color: rgba(148, 163, 184, 0.16);
}

.thymos-button-secondary {
  border: 1px solid rgba(146, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
}

.thymos-button-secondary[data-tone="danger"] {
  border-color: rgba(248, 113, 113, 0.28);
  color: #fecaca;
  background: rgba(127, 29, 29, 0.12);
}

.thymos-button-secondary:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
}

.thymos-preview-card {
  display: grid;
  gap: 13px;
  padding: 16px;
  border-radius: 8px;
}

.thymos-preview-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.thymos-preview-head strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-family: var(--font-display), sans-serif;
  font-size: 1.06rem;
}

.thymos-preview-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(223, 232, 243, 0.74);
  line-height: 1.6;
}

.thymos-preview-risk {
  position: relative;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(146, 163, 184, 0.16);
  color: rgba(201, 212, 225, 0.76);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.thymos-preview-risk[data-risk="low"] {
  border-color: rgba(52, 211, 153, 0.25);
  color: #bbf7d0;
  background: rgba(6, 78, 59, 0.16);
}

.thymos-preview-risk[data-risk="medium"] {
  border-color: rgba(251, 191, 36, 0.28);
  color: #fde68a;
  background: rgba(113, 63, 18, 0.16);
}

.thymos-preview-risk[data-risk="high"] {
  border-color: rgba(248, 113, 113, 0.3);
  color: #fecaca;
  background: rgba(127, 29, 29, 0.18);
}

.thymos-preview-route,
.thymos-preview-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thymos-preview-route span,
.thymos-preview-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(146, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.035);
  padding: 8px 10px;
  color: rgba(223, 232, 243, 0.78);
  font-size: 12px;
}

.thymos-preview-route b {
  color: var(--signal);
  font-family: var(--font-display), sans-serif;
  font-size: 11px;
}

.thymos-preview-command {
  position: relative;
  z-index: 1;
}

.thymos-preview-tune {
  position: relative;
  z-index: 1;
  width: max-content;
  border: 0;
  background: transparent;
  color: #bfdbfe;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thymos-suggestion-row {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.thymos-suggestion {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(146, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  cursor: pointer;
}

.thymos-suggestion strong {
  display: block;
  font-size: 0.86rem;
  color: var(--text);
  margin-bottom: 6px;
}

.thymos-suggestion span {
  display: block;
  color: rgba(201, 212, 225, 0.72);
  line-height: 1.5;
  font-size: 0.86rem;
}

.thymos-error {
  margin: 0;
  color: #fca5a5;
  line-height: 1.6;
}

.thymos-control-grid {
  margin-top: 2px;
}

.thymos-control-tile {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(146, 163, 184, 0.15);
  background: rgba(255, 255, 255, 0.035);
  padding: 15px 16px;
}

.thymos-control-tile::before {
  content: "";
  position: absolute;
  inset: auto 12px 0 12px;
  height: 2px;
  background: rgba(119, 169, 255, 0.42);
}

.thymos-control-tile[data-tone="good"]::before {
  background: rgba(52, 211, 153, 0.62);
}

.thymos-control-tile[data-tone="warn"]::before {
  background: rgba(251, 191, 36, 0.72);
}

.thymos-control-tile span,
.thymos-run-status {
  display: inline-flex;
  width: max-content;
  color: rgba(201, 212, 225, 0.76);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.thymos-control-tile strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-family: var(--font-display), sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.thymos-control-tile p {
  margin: 8px 0 0;
  color: rgba(223, 232, 243, 0.7);
  font-size: 0.86rem;
  line-height: 1.5;
}

.thymos-run-history-panel {
  margin-top: 18px;
  padding: 22px;
  border-radius: 8px;
}

.thymos-history-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.thymos-history-head h2 {
  margin: 6px 0 0;
  font-family: var(--font-display), sans-serif;
  font-size: 2rem;
}

.thymos-history-head p {
  max-width: 520px;
  margin: 0;
  color: rgba(223, 232, 243, 0.72);
  line-height: 1.6;
}

.thymos-run-history-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.thymos-run-history-item {
  display: grid;
  grid-template-columns: minmax(92px, max-content) minmax(0, 1fr) max-content;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(146, 163, 184, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.thymos-run-history-item:hover {
  transform: translateY(-1px);
  border-color: rgba(119, 169, 255, 0.28);
  background: rgba(119, 169, 255, 0.07);
}

.thymos-run-history-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(238, 244, 251, 0.9);
}

.thymos-run-history-item code {
  color: rgba(201, 212, 225, 0.7);
  font-size: 12px;
}

.thymos-run-status {
  justify-content: center;
  min-width: 86px;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(146, 163, 184, 0.16);
}

.thymos-run-status[data-status="running"] {
  color: #bae6fd;
  border-color: rgba(125, 211, 252, 0.24);
  background: rgba(14, 116, 144, 0.14);
}

.thymos-run-status[data-status="completed"] {
  color: #bbf7d0;
  border-color: rgba(52, 211, 153, 0.24);
  background: rgba(6, 78, 59, 0.14);
}

.thymos-run-status[data-status="failed"] {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.24);
  background: rgba(127, 29, 29, 0.14);
}

.thymos-console-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 18px;
  margin-top: 18px;
}

.thymos-console-main,
.thymos-console-sidebar {
  border-radius: 8px;
  padding: 18px;
  min-width: 0;
}

.thymos-console-sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
}

.thymos-runtime-header {
  display: grid;
  gap: 20px;
  padding: 26px 24px 22px;
  border-radius: 8px;
}

.thymos-console-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.thymos-status-pill,
.thymos-console-id {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.thymos-status-pill {
  font-weight: 700;
}

.thymos-status-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.thymos-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.08);
  color: #d5ffe9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thymos-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.56);
}

.thymos-live-pill[data-state="connecting"],
.thymos-live-pill[data-state="reconnecting"] {
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
  color: #ffe7bb;
}

.thymos-live-pill[data-state="connecting"] .thymos-live-dot,
.thymos-live-pill[data-state="reconnecting"] .thymos-live-dot {
  background: #fbbf24;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.52);
}

.thymos-live-pill[data-state="closed"] {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(148, 163, 184, 0.08);
  color: rgba(201, 212, 225, 0.76);
}

.thymos-live-pill[data-state="closed"] .thymos-live-dot {
  background: #94a3b8;
  box-shadow: none;
}

.thymos-console-id {
  color: rgba(201, 212, 225, 0.72);
  margin-left: auto;
}

.thymos-runtime-task {
  display: grid;
  gap: 10px;
}

.thymos-runtime-task h1 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.06;
  font-family: var(--font-display), sans-serif;
}

.thymos-runtime-task p {
  margin: 0;
  color: rgba(223, 232, 243, 0.78);
  line-height: 1.65;
  max-width: 920px;
}

.thymos-operator-state {
  color: var(--signal);
  font-size: 14px;
  font-weight: 600;
}

.thymos-console-stat {
  border-radius: 8px;
  border: 1px solid rgba(146, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
}

.thymos-console-stat span {
  color: rgba(150, 163, 181, 0.82);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thymos-console-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  color: var(--text);
}

.thymos-operator-actions {
  display: grid;
  gap: 12px;
}

.thymos-realtime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.thymos-realtime-card {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 15px 16px;
  border-radius: 8px;
}

.thymos-realtime-card .thymos-live-dot {
  margin-top: 7px;
}

.thymos-realtime-card[data-state="reconnecting"] .thymos-live-dot,
.thymos-realtime-card[data-state="connecting"] .thymos-live-dot {
  background: #fbbf24;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.52);
}

.thymos-realtime-card[data-state="closed"] .thymos-live-dot {
  background: #94a3b8;
  box-shadow: none;
}

.thymos-realtime-card span:not(.thymos-live-dot) {
  color: rgba(150, 163, 181, 0.82);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thymos-realtime-card strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-family: var(--font-display), sans-serif;
  font-size: 1rem;
}

.thymos-realtime-card p {
  margin: 7px 0 0;
  color: rgba(223, 232, 243, 0.7);
  line-height: 1.5;
  font-size: 0.86rem;
}

.thymos-approval-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background:
    linear-gradient(90deg, rgba(251, 191, 36, 0.12), transparent 44%),
    rgba(255, 255, 255, 0.035);
}

.thymos-approval-card strong {
  display: block;
  margin-top: 7px;
  color: #fde68a;
  font-family: var(--font-display), sans-serif;
  font-size: 1.05rem;
}

.thymos-approval-card p,
.thymos-action-message {
  margin: 8px 0 0;
  color: rgba(223, 232, 243, 0.76);
  line-height: 1.6;
}

.thymos-action-message {
  margin: 0;
  font-size: 0.92rem;
}

.thymos-tab-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.thymos-tab {
  border: 1px solid rgba(146, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(201, 212, 225, 0.74);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.thymos-tab.is-active {
  border-color: rgba(119, 169, 255, 0.3);
  background: rgba(119, 169, 255, 0.12);
  color: var(--text);
}

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

.thymos-ledger-entry {
  display: grid;
  grid-template-columns: 48px max-content 64px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  border-radius: 8px;
  font-size: 13px;
}

.thymos-ledger-seq {
  color: rgba(150, 163, 181, 0.8);
  text-align: right;
  font-family: var(--font-display), sans-serif;
}

.thymos-ledger-kind {
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.thymos-ledger-id {
  color: rgba(201, 212, 225, 0.66);
  font-size: 11px;
  line-height: 1.8;
}

.thymos-ledger-detail {
  color: rgba(223, 232, 243, 0.82);
  line-height: 1.55;
}

.thymos-panel {
  border-radius: 8px;
  padding: 16px;
}

.thymos-panel-title {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
}

.thymos-panel-bar {
  border-left: 2px solid var(--signal);
  padding-left: 12px;
  color: rgba(223, 232, 243, 0.8);
  line-height: 1.7;
  white-space: pre-wrap;
  font-size: 13px;
}

.thymos-world-replay-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.thymos-world-replay-head span {
  color: rgba(150, 163, 181, 0.8);
  font-size: 12px;
}

.thymos-range {
  width: 100%;
  accent-color: #77a9ff;
}

.thymos-chip-row {
  grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
  align-items: start;
}

.thymos-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(146, 163, 184, 0.18);
  padding: 4px 8px;
  color: rgba(201, 212, 225, 0.82);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.03);
}

.thymos-empty-state {
  padding: 20px;
  border-radius: 8px;
}

.thymos-empty-state strong {
  display: block;
  margin-bottom: 8px;
}

.thymos-log-list,
.thymos-resource-list {
  display: grid;
  gap: 12px;
}

.thymos-log-entry {
  border-radius: 8px;
  padding: 14px 16px;
}

.thymos-log-entry[data-level="info"] {
  border-color: rgba(119, 169, 255, 0.28);
}

.thymos-log-entry[data-level="success"] {
  border-color: rgba(52, 211, 153, 0.28);
}

.thymos-log-entry[data-level="warning"] {
  border-color: rgba(245, 158, 11, 0.28);
}

.thymos-log-entry[data-level="error"] {
  border-color: rgba(248, 113, 113, 0.28);
}

.thymos-log-head,
.thymos-resource-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.thymos-chip--phase {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thymos-log-title {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.thymos-log-meta {
  color: rgba(150, 163, 181, 0.88);
  font-size: 12px;
  margin-left: auto;
}

.thymos-log-copy,
.thymos-resource-copy {
  margin: 0;
  color: rgba(223, 232, 243, 0.84);
  line-height: 1.6;
  font-size: 13px;
  white-space: pre-wrap;
}

.thymos-stream-block,
.thymos-resource-card {
  border-radius: 8px;
  padding: 14px 16px;
}

.thymos-stream-block pre,
.thymos-resource-card pre {
  margin: 0;
  color: rgba(214, 225, 240, 0.8);
  font-size: 12px;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 420px;
  overflow: auto;
}

.thymos-resource-head strong {
  color: var(--text);
  font-size: 13px;
}

.thymos-resource-version {
  color: rgba(150, 163, 181, 0.74);
  font-size: 11px;
}

@media (max-width: 1180px) {
  .thymos-hero,
  .thymos-runtime-grid,
  .thymos-coding-grid,
  .thymos-backend-grid,
  .thymos-workflow-grid,
  .thymos-cta-shell,
  .thymos-pillar-grid,
  .thymos-package-grid,
  .thymos-mechanism-grid {
    grid-template-columns: 1fr;
  }

  .thymos-hero {
    min-height: auto;
  }

  .thymos-hero-visual {
    min-height: 600px;
  }

  .thymos-stage-graph {
    grid-template-columns: 1fr;
  }

  .thymos-stage-link {
    width: 2px;
    height: 42px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(119, 169, 255, 0), rgba(119, 169, 255, 0.92), rgba(119, 169, 255, 0));
  }

  .thymos-sidecard {
    width: 210px;
  }

  .thymos-runtime-hero,
  .thymos-console-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 18px;
  }

  .thymos-shell {
    width: min(100% - 18px, 1320px);
    padding-top: 16px;
  }

  .thymos-header,
  .thymos-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .thymos-header .thymos-mark {
    width: 68px;
    height: 68px;
  }

  .thymos-footer .thymos-mark {
    width: 62px;
    height: 62px;
  }

  .thymos-nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .thymos-hero {
    gap: 22px;
    padding-top: 18px;
  }

  .thymos-hero h1 {
    font-size: 3rem;
    line-height: 0.96;
  }

  .thymos-hero-visual {
    min-height: 520px;
  }

  .thymos-runtime-stage {
    inset: 10% 0 10% 0;
    padding: 18px;
    transform: none;
  }

  .thymos-sidecard {
    position: static;
    width: auto;
    margin-top: 14px;
    transform: none;
  }

  .thymos-visual-stack {
    display: grid;
    align-content: start;
  }

  .thymos-story-metrics {
    grid-template-columns: 1fr;
  }

  .thymos-tool-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .thymos-cta-shell {
    padding: 22px;
  }

  .thymos-footer-copy {
    text-align: left;
  }

  .thymos-runtime-shell {
    width: min(100% - 18px, 1380px);
    padding-top: 18px;
  }

  .thymos-runtime-hero,
  .thymos-runtime-header,
  .thymos-console-main,
  .thymos-console-sidebar,
  .thymos-runtime-form {
    padding: 18px;
  }

  .thymos-console-topline,
  .thymos-form-row,
  .thymos-world-replay-head,
  .thymos-history-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .thymos-run-history-item,
  .thymos-approval-card {
    grid-template-columns: 1fr;
  }

  .thymos-preview-head {
    flex-direction: column;
  }

  .thymos-ledger-entry {
    grid-template-columns: 1fr;
  }

  .thymos-ledger-seq {
    text-align: left;
  }

  .thymos-console-id {
    margin-left: 0;
  }

  .thymos-runtime-title,
  .thymos-runtime-task h1 {
    max-width: none;
  }

  .thymos-number-input,
  .thymos-provider-field,
  .thymos-model-field {
    width: 100%;
  }
}

@keyframes thymos-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes thymos-float-left-motion {
  0%,
  100% {
    transform: translateY(0) rotate(-7deg);
  }

  50% {
    transform: translateY(10px) rotate(-4deg);
  }
}

@keyframes thymos-float-right-motion {
  0%,
  100% {
    transform: translateY(0) rotate(8deg);
  }

  50% {
    transform: translateY(-10px) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Hero download cluster (per-platform) */
.thymos-download {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
}
.thymos-download-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: #06101f;
  background: linear-gradient(180deg, #9ec1ff, #6f9bff);
  border: 1px solid rgba(119, 169, 255, 0.6);
  box-shadow: 0 18px 44px rgba(64, 105, 167, 0.34);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.thymos-download-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(64, 105, 167, 0.42);
}
.thymos-download-plats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.thymos-plat {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--muted-strong);
  border: 1px solid rgba(119, 169, 255, 0.24);
  background: rgba(119, 169, 255, 0.08);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.thymos-plat:hover {
  color: var(--text);
  border-color: rgba(119, 169, 255, 0.5);
  background: rgba(119, 169, 255, 0.14);
}
.thymos-download-note {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 2px 0 0;
}
.thymos-download-note code {
  font-size: 0.8rem;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(119, 169, 255, 0.1);
  border: 1px solid rgba(119, 169, 255, 0.2);
}

/* Top bar: no card box around the logo — let it float on the page */
.thymos-header {
  border: none;
  background: none;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.thymos-header::before { display: none; }
