:root {
  color-scheme: dark;
  --bg: #020611;
  --panel: rgba(5, 18, 42, 0.72);
  --panel-strong: rgba(6, 24, 56, 0.94);
  --line: rgba(96, 165, 250, 0.24);
  --blue-1: #dbeafe;
  --blue-2: #93c5fd;
  --blue-3: #60a5fa;
  --blue-4: #3b82f6;
  --blue-5: #2563eb;
  --blue-6: #1d4ed8;
  --text: #eff6ff;
  --muted: #91a6c7;
  --radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(96, 165, 250, 0.42) transparent;
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: rgba(96, 165, 250, 0.42);
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(96, 165, 250, 0.62);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}
html {
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background: #020611;
  overscroll-behavior-x: none;
  overscroll-behavior-y: none;
}
body {
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  overscroll-behavior-y: none;
  background-color: #020611;
  background-image:
    radial-gradient(ellipse at 20% 14%, rgba(59, 130, 246, 0.16) 0 8%, transparent 34%),
    radial-gradient(ellipse at 80% 18%, rgba(37, 99, 235, 0.12) 0 9%, transparent 35%),
    radial-gradient(circle at 50% 34%, rgba(15, 48, 104, 0.46), transparent 38%),
    linear-gradient(180deg, #020611 0%, #030916 55%, #020611 100%);
  background-repeat: no-repeat;
  color: var(--text);
}
a { color: inherit; }
button, a { border-radius: var(--radius); }

:where(
  .install-command-shell,
  .discord-button,
  .repo-button,
  .cookie-banner,
  .cookie-banner button,
  .memory-window,
  .memory-node,
  .surface-card,
  .desktop-mock,
  .mock-message,
  .terminal-mock,
  .workflow-shell,
  .workflow-stage,
  .workflow-console,
  .console-result,
  .automation-panel,
  .schedule-card,
  .status-pill,
  .control-card,
  .control-icon,
  .final-card,
  .mini-install,
  .primary-link,
  .secondary-link,
  .sponsor-label
) {
  border-radius: var(--radius);
}


.footer-ascii-art {
  display: grid;
  place-items: center;
  width: 100%;
  margin: 40px auto 0;
  padding: 12px 0 0;
  overflow: clip;
  pointer-events: none;
  contain: layout paint;
  isolation: isolate;
}

.footer-ascii-art pre {
  margin: 0;
  width: max-content;
  max-width: none;
  white-space: pre;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(6.6px, 1vw, 13px);
  font-kerning: none;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "calt" 0;
  line-height: 0.94;
  letter-spacing: 0;
  text-align: left;
  color: #3b82f6;
  background-image:
    radial-gradient(ellipse at 16% 28%, rgba(219, 234, 254, 0.98) 0%, rgba(96, 165, 250, 0.92) 11%, rgba(37, 99, 235, 0.18) 26%, transparent 43%),
    radial-gradient(ellipse at 82% 68%, rgba(147, 197, 253, 0.92) 0%, rgba(59, 130, 246, 0.78) 13%, rgba(29, 78, 216, 0.16) 31%, transparent 48%),
    radial-gradient(ellipse at 58% 42%, rgba(191, 219, 254, 0.76) 0%, rgba(37, 99, 235, 0.42) 18%, transparent 43%),
    linear-gradient(118deg, #1e3a8a 0%, #2563eb 23%, #60a5fa 42%, #1d4ed8 61%, #93c5fd 78%, #1e40af 100%);
  background-size: 165% 155%, 175% 165%, 150% 180%, 240% 100%;
  background-position: -28% 6%, 118% 92%, 52% 44%, 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: none;
  user-select: none;
}

.footer-ascii-art.is-mesh-active pre {
  animation: ascii-glyph-mesh 11s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}

@keyframes ascii-glyph-mesh {
  0% {
    background-position: -28% 6%, 118% 92%, 52% 44%, 0% 50%;
  }
  35% {
    background-position: 18% 34%, 88% 56%, 24% 76%, 42% 50%;
  }
  68% {
    background-position: 64% 72%, 34% 26%, 78% 22%, 76% 50%;
  }
  100% {
    background-position: 112% 94%, -22% 12%, 42% 58%, 100% 50%;
  }
}

@media (max-width: 720px) {
  .footer-ascii-art {
    margin-top: 28px;
    padding-top: 4px;
  }

  .footer-ascii-art pre {
    font-size: clamp(4.5px, 1.48vw, 6.7px);
  }
}


.sponsor-banner {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  width: 100%;
  border-bottom: 1px solid rgba(96, 165, 250, 0.12);
  background: rgba(2, 8, 20, 0.72);
  backdrop-filter: blur(14px);
}

.sponsor-banner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 36px;
  max-width: calc(100% - 24px);
  color: #91a6c7;
  font-size: 10px;
  line-height: 1.3;
  text-decoration: none;
}

.sponsor-banner a:hover {
  color: #dbeafe;
}

.sponsor-label {
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: var(--radius);
  padding: 2px 6px;
  color: #7185a6;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.sponsor-banner strong {
  color: var(--blue-2);
  font-weight: 900;
}

.sponsor-copy {
  color: #8297b8;
}

.sponsor-arrow {
  color: var(--blue-3);
}



.shell {
  position: relative;
  min-height: calc(100vh - 114px);
  display: grid;
  place-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0 110px;
  isolation: isolate;
}

.shell::before {
  content: "";
  position: absolute;
  inset: -36px -6vw 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.075) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.82) 44%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.82) 44%, transparent 100%);
}

.hero {
  width: min(100%, 960px);
  text-align: center;
}

.presenter {
  display: grid;
  justify-items: center;
  gap: 5px;
  margin: 0 0 30px;
}

.eyebrow {
  margin: 0;
  color: var(--blue-3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.presents {
  margin: 0;
  color: #7185a6;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: lowercase;
}

.ascii {
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  text-align: center;
}

.loki-wordmark {
  gap: 18px;
}

.wordmark-block {
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
  color: #93c5fd;
  font: 800 clamp(5px, 0.92vw, 12px)/1.04 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0;
  text-align: left;
  white-space: pre;
  text-shadow:
    1px 1px 0 #3b82f6,
    2px 2px 0 #2563eb,
    3px 3px 0 #1e40af,
    4px 4px 0 #1e3a8a,
    0 0 20px rgba(96, 165, 250, 0.18);
}

.wordmark-loki {
  color: #bfdbfe;
}

.wordmark-agent {
  color: #60a5fa;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wordmark-block {
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .wordmark-loki {
    background-image: repeating-linear-gradient(
      to bottom,
      #dbeafe 0 1px,
      #93c5fd 1px 2px,
      #bfdbfe 2px 4px,
      #6ea8f8 4px 5px
    );
  }

  .wordmark-agent {
    background-image: repeating-linear-gradient(
      to bottom,
      #93c5fd 0 1px,
      #4f8df3 1px 2px,
      #60a5fa 2px 4px,
      #2f6fd6 4px 5px
    );
  }
}

.tagline {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 48px auto 28px;
  color: #dbeafe;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
}

.tagline-prefix {
  color: #b9c9df;
  font-weight: 500;
}

.tagline-action {
  color: var(--blue-2);
  font-weight: 900;
}

.tagline-action::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.02em;
  margin-left: 4px;
  background: currentColor;
  vertical-align: -0.10em;
  animation: type-caret 900ms steps(1, end) infinite;
}

@keyframes type-caret {
  0%, 46% { opacity: 1; }
  47%, 100% { opacity: 0; }
}

.install-command-link {
  color: var(--blue-2);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.install-command-link:hover {
  color: var(--blue-1);
}

.installer {
  width: 100%;
  margin: 0 auto 24px;
  text-align: center;
}

.install-tabs {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 6px;
}

.install-tab {
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: #7185a6;
  padding: 8px 10px 6px;
  font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  cursor: pointer;
}

.install-tab:hover,
.install-tab.is-active {
  border-color: rgba(96, 165, 250, 0.24);
  background: rgba(30, 64, 175, 0.18);
  color: var(--blue-2);
}

.install-command-shell {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(96, 165, 250, 0.20);
  border-radius: var(--radius);
  background: rgba(2, 10, 26, 0.62);
}

.install-command {
  min-width: 0;
  max-width: min(100%, 560px);
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  overflow-x: auto;
  border: 0;
  background: transparent;
  padding: 12px 12px 12px 14px;
  color: #dbeafe;
  font: 700 12px/1.35 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-align: left;
  white-space: pre;
}

.copy-command {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  min-height: 38px;
  margin: 3px;
  border: 0;
  border-left: 1px solid rgba(96, 165, 250, 0.13);
  border-radius: var(--radius);
  background: transparent;
  color: #8297b8;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
}

.copy-command svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copy-command:hover,
.copy-command.is-copied {
  background: rgba(30, 64, 175, 0.24);
  color: var(--blue-2);
}

.copy-command.is-copied .copy-tooltip,
.copy-command.is-copy-error .copy-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.copy-command-tooltip {
  right: -1px;
}


.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.discord-button,
.repo-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(147, 197, 253, 0.48);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(29, 78, 216, 0.86));
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.20), inset 0 1px 0 rgba(219, 234, 254, 0.18);
  color: #eff6ff;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.discord-button {
  border-color: rgba(147, 197, 253, 0.48);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(29, 78, 216, 0.86));
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.20), inset 0 1px 0 rgba(219, 234, 254, 0.18);
}

.repo-button {
  border-color: rgba(96, 165, 250, 0.30);
  background: rgba(5, 18, 42, 0.72);
  box-shadow: inset 0 1px 0 rgba(219, 234, 254, 0.08);
}

.repo-symbol {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-0.02em);
}

.discord-symbol {
  display: inline-block;
  line-height: 1;
  transform: translateY(-0.02em);
}

.discord-button:hover,
.repo-button:hover {
  transform: translateY(-2px);
  border-color: rgba(219, 234, 254, 0.72);
}

.discord-button:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.repo-button:hover {
  background: rgba(30, 64, 175, 0.32);
}

.discord-button:focus-visible,
.repo-button:focus-visible,
.sponsor-banner a:focus-visible,
.footer a:focus-visible,
.social-links a:focus-visible,
.install-tab:focus-visible,
.copy-command:focus-visible,
.install-command-link:focus-visible,
.cookie-banner button:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
}

.footer {
  position: relative;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  border-top: 0;
  color: #7185a6;
  font-size: 12px;
  text-align: center;
  isolation: isolate;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 -36px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, #000 42%, #000);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 42%, #000);
}

.footer nav { display: flex; gap: 20px; }
.footer a { color: #93a8c7; text-underline-offset: 4px; }
.footer a:hover { color: var(--blue-2); }

.cookie-banner {
  position: fixed;
  z-index: 10;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: var(--radius);
  background: rgba(2, 10, 26, 0.94);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  padding: 14px 16px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { display: block; margin-bottom: 4px; color: var(--blue-2); font-size: 12px; }
.cookie-banner p { margin: 0; color: #90a5c4; font-size: 11px; line-height: 1.5; }
.cookie-banner button {
  flex: 0 0 auto;
  border: 1px solid rgba(96, 165, 250, 0.30);
  background: rgba(30, 64, 175, 0.44);
  color: #dbeafe;
  min-height: 36px;
  padding: 0 14px;
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  cursor: pointer;
}
.cookie-banner button:hover { background: rgba(37, 99, 235, 0.42); }

.legal-shell {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 120px;
}
.legal-shell .eyebrow { margin-bottom: 24px; }
.legal-shell h1 { margin: 0 0 30px; font-size: clamp(30px, 5vw, 54px); color: var(--blue-2); }
.legal-shell h2 { margin: 38px 0 12px; font-size: 15px; color: var(--blue-3); }
.legal-shell p, .legal-shell li { color: #9cb0cf; line-height: 1.75; font-size: 14px; }
.legal-shell a { color: var(--blue-2); }
.legal-back { display: inline-block; margin-top: 32px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .install-command-shell { width: 100%; }
  .install-command { flex: 1 1 auto; max-width: calc(100vw - 86px); }
  .shell { width: min(100% - 24px, 1180px); max-width: calc(100% - 24px); padding-top: 70px; }
  .shell::before { inset: -36px 0 0; }
  .wordmark-block { font-size: clamp(4px, 1.55vw, 8px); }
  .tagline { margin-top: 34px; }
  .sponsor-banner a { gap: 6px; padding: 7px 0; text-align: center; }
  .sponsor-copy { display: none; }
  .hero-actions { width: 100%; }
  .discord-button, .repo-button { flex: 1 1 190px; }
  .installer { width: 100%; }
  .footer { width: calc(100% - 24px); flex-direction: column; align-items: center; justify-content: center; padding: 20px 0; text-align: center; }
  .footer nav { flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: calc(100% - 24px); align-items: flex-start; flex-direction: column; gap: 12px; }
  .cookie-banner button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .shell::before { transform: none; transition: none; }
  .discord-button, .repo-button { transition: none; }
  .tagline-action::after { animation: none; opacity: 1; }
}

.site-content {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 118px 0;
  border-top: 1px solid rgba(96, 165, 250, 0.13);
}

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

.section-kicker {
  margin-bottom: 18px;
  color: var(--blue-3);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 64px;
  margin-bottom: 56px;
}

.section-heading-wide {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  margin-bottom: 70px;
}

.section-heading h2,
.split-copy h2,
.automation-copy h2,
.final-copy h2 {
  margin: 0;
  max-width: 820px;
  color: var(--text);
  font-size: clamp(30px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-heading p,
.split-copy > p,
.automation-copy > p,
.final-copy > p {
  margin: 0;
  color: #9db0cc;
  font-size: 14px;
  line-height: 1.8;
}

.benefit-ledger {
  border-top: 1px solid rgba(96, 165, 250, 0.2);
}

.ledger-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 40px;
  gap: 24px;
  align-items: center;
  min-height: 150px;
  border-bottom: 1px solid rgba(96, 165, 250, 0.16);
  transition: background 180ms ease, padding 180ms ease;
}

.ledger-item:hover {
  padding: 0 18px;
  background: rgba(15, 48, 104, 0.12);
}

.ledger-index {
  color: #546987;
  font-size: 11px;
  font-weight: 800;
}

.ledger-item h3,
.surface-card h3,
.control-card h3 {
  margin: 0;
  color: #e8f1ff;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.ledger-item p,
.surface-card > p,
.control-card p {
  margin: 9px 0 0;
  max-width: 790px;
  color: #8fa4c2;
  font-size: 13px;
  line-height: 1.75;
}

.ledger-mark {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: #4f6f9f;
  font-size: 20px;
  text-align: right;
  transition: color 180ms ease, transform 180ms ease;
}

.ledger-mark i {
  display: block;
  font-size: 18px;
  line-height: 1;
}

.ledger-item:hover .ledger-mark {
  color: var(--blue-2);
  transform: translate(2px, -2px);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  gap: 86px;
  align-items: center;
}

.split-copy > p {
  max-width: 570px;
  margin-top: 26px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 32px;
  padding: 0;
  list-style: none;
  color: #b7c7dd;
  font-size: 12px;
  line-height: 1.55;
}

.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.check-list span {
  color: var(--blue-3);
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.text-link span {
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.memory-visual {
  position: relative;
}

.memory-visual::before {
  content: "";
  position: absolute;
  inset: 12% 6% -12%;
  z-index: -1;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 65%);
  filter: blur(26px);
}

.memory-window,
.workflow-console,
.schedule-card {
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background: rgba(3, 13, 31, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(219, 234, 254, 0.035);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(96, 165, 250, 0.13);
  color: #7388a7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.window-state {
  color: var(--blue-3);
}

.memory-flow {
  display: grid;
  grid-template-columns: 1fr 58px 1fr 58px 1fr;
  align-items: stretch;
  padding: 34px;
}

.memory-node {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(96, 165, 250, 0.18);
  background: rgba(7, 25, 55, 0.48);
  padding: 22px;
}

.memory-node-input {
  background: rgba(8, 20, 43, 0.72);
}

.memory-node-skill {
  border-color: rgba(96, 165, 250, 0.34);
  background: rgba(23, 57, 117, 0.3);
}

.node-label {
  display: block;
  margin-bottom: 14px;
  color: #6783a9;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.memory-node strong {
  color: #dceaff;
  font-size: 12px;
  line-height: 1.55;
}

.memory-node small {
  margin-top: 10px;
  color: #7186a5;
  font-size: 9px;
  line-height: 1.55;
}

.flow-line {
  position: relative;
  min-width: 0;
}

.flow-line::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(96, 165, 250, 0.25);
}

.flow-line span {
  position: absolute;
  top: calc(50% - 2px);
  left: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-3);
  box-shadow: 0 0 14px rgba(96, 165, 250, 0.8);
  animation: flow-pulse 2.4s ease-in-out infinite;
}

@keyframes flow-pulse {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(38px); opacity: 0; }
}

.visual-caption {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
  color: #7186a5;
  font-size: 9px;
}

.pulse-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-3);
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.7);
}

.surface-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 14px;
}

.surface-card,
.control-card {
  min-width: 0;
  border: 1px solid rgba(96, 165, 250, 0.16);
  background: rgba(4, 16, 37, 0.58);
  padding: 22px;
}

.surface-card {
  display: flex;
  flex-direction: column;
  min-height: 460px;
}

.surface-card-primary {
  background: rgba(6, 23, 52, 0.7);
}

.surface-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 26px;
  color: #617795;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.surface-card h3 {
  margin-top: auto;
  padding-top: 28px;
}

.desktop-mock {
  display: grid;
  grid-template-columns: 42px 1fr;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background: #040b18;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding-top: 16px;
  border-right: 1px solid rgba(96, 165, 250, 0.12);
  background: #030814;
}

.mock-dot {
  width: 7px;
  height: 7px;
  border: 1px solid #425875;
  border-radius: var(--radius);
}

.mock-dot.is-active {
  border-color: var(--blue-3);
  background: rgba(96, 165, 250, 0.45);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.35);
}

.mock-main {
  min-width: 0;
  padding: 12px;
}

.mock-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.mock-tabs span {
  width: 42px;
  height: 3px;
  background: #20324c;
}

.mock-tabs span:first-child {
  background: #436b9e;
}

.mock-message {
  width: 82%;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid rgba(96, 165, 250, 0.12);
  color: #9cafca;
  font-size: 8px;
  line-height: 1.55;
}

.mock-message-user {
  margin-left: auto;
  background: rgba(30, 64, 175, 0.2);
}

.mock-message-agent {
  background: rgba(8, 25, 55, 0.68);
}

.mock-terminal {
  display: grid;
  gap: 5px;
  margin-top: 16px;
  border-top: 1px solid rgba(96, 165, 250, 0.12);
  padding: 12px 5px 0;
  color: #6f87a8;
  font-size: 8px;
}

.mock-terminal span:first-child {
  color: #a8bdd9;
}

.mock-cursor {
  color: var(--blue-3);
}

.terminal-mock {
  min-height: 250px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  background: #030914;
  padding: 22px 18px;
  color: #a7bad5;
  font-size: 9px;
  line-height: 1.8;
}

.terminal-prompt,
.terminal-blue {
  color: var(--blue-3);
}

.terminal-muted {
  color: #516987;
}

.message-stack {
  display: grid;
  gap: 8px;
  min-height: 250px;
  align-content: start;
}

.message-stack span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  border-bottom: 1px solid rgba(96, 165, 250, 0.13);
  color: #91a7c5;
  font-size: 10px;
}

.message-stack span::after {
  content: "connected";
  color: #4f6e97;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.message-stack span:last-child::after {
  content: "gateway";
}

.workflow-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.18);
  background: rgba(4, 14, 32, 0.42);
}

.workflow-rail {
  border-right: 1px solid rgba(96, 165, 250, 0.14);
}

.workflow-stage {
  display: grid;
  grid-template-columns: 28px 1fr;
  width: 100%;
  border-radius: 0;
  column-gap: 8px;
  min-height: 100px;
  align-content: center;
  padding: 16px 20px;
  border: 0;
  border-bottom: 1px solid rgba(96, 165, 250, 0.11);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.workflow-stage:last-child {
  border-bottom: 0;
}

.workflow-stage:hover {
  background: rgba(30, 64, 175, 0.09);
}

.workflow-stage:focus-visible {
  position: relative;
  z-index: 2;
  outline: 2px solid var(--blue-2);
  outline-offset: -2px;
}

.workflow-stage > span {
  grid-row: 1 / span 2;
  color: #4d6688;
  font-size: 8px;
  padding-top: 3px;
}

.workflow-stage strong {
  color: #aebfd7;
  font-size: 11px;
}

.workflow-stage small {
  margin-top: 5px;
  color: #5f7593;
  font-size: 8px;
}

.workflow-stage.is-active {
  background: rgba(30, 64, 175, 0.18);
  box-shadow: inset 3px 0 0 rgba(96, 165, 250, 0.72);
}

.workflow-stage.is-active > span,
.workflow-stage.is-active strong {
  color: var(--blue-2);
}

.workflow-console {
  border: 0;
  box-shadow: none;
  background: rgba(2, 9, 22, 0.84);
}

.console-lines {
  display: grid;
  gap: 14px;
  padding: 30px 30px 20px;
}

.console-lines p {
  display: grid;
  grid-template-columns: 64px 18px 1fr;
  gap: 8px;
  margin: 0;
  color: #7890b0;
  font-size: 10px;
  line-height: 1.55;
  opacity: 0.56;
  transition: color 150ms ease, opacity 150ms ease, transform 150ms ease;
}

.console-lines p.is-stage-highlighted {
  color: #c4d6ee;
  opacity: 1;
  transform: translateX(3px);
}

.console-time {
  color: #4f6686;
}

.console-ok {
  color: #7db0f7;
}

.console-run {
  color: #567aa8;
}

.console-result {
  margin: 10px 30px 30px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background: rgba(16, 45, 95, 0.21);
  padding: 22px;
}

.console-result strong {
  display: block;
  color: #dceaff;
  font-size: 18px;
}

.console-result p {
  max-width: 650px;
  margin: 9px 0 0;
  color: #8299b8;
  font-size: 10px;
  line-height: 1.65;
}

.automation-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  gap: 80px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.18);
  background: linear-gradient(135deg, rgba(7, 27, 60, 0.74), rgba(3, 12, 28, 0.56));
  padding: 58px;
}

.automation-panel::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(96, 165, 250, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(96, 165, 250, 0.02), 0 0 0 144px rgba(96, 165, 250, 0.015);
}

.automation-copy,
.schedule-card {
  position: relative;
  z-index: 1;
}

.automation-copy > p {
  margin-top: 24px;
}

.automation-copy .text-link {
  margin-top: 30px;
}

.schedule-card {
  background: rgba(2, 10, 24, 0.88);
}

.schedule-header,
.schedule-row {
  display: grid;
  align-items: center;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 0 18px;
}

.schedule-header {
  min-height: 42px;
  border-bottom: 1px solid rgba(96, 165, 250, 0.13);
  color: #5e7595;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.schedule-header span:last-child {
  grid-column: 3;
}

.schedule-row {
  min-height: 82px;
  border-bottom: 1px solid rgba(96, 165, 250, 0.11);
}

.schedule-row:last-child {
  border-bottom: 0;
}

.schedule-time {
  color: var(--blue-2);
  font-size: 10px;
  font-weight: 900;
}

.schedule-row strong,
.schedule-row small {
  display: block;
}

.schedule-row strong {
  color: #bfcee1;
  font-size: 10px;
}

.schedule-row small {
  margin-top: 6px;
  color: #617795;
  font-size: 8px;
}

.status-pill {
  border: 1px solid rgba(96, 165, 250, 0.16);
  padding: 4px 6px;
  color: #6f89aa;
  font-size: 7px;
  text-transform: uppercase;
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.control-card {
  min-height: 280px;
  padding: 26px;
}

.control-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 68px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background: rgba(30, 64, 175, 0.1);
  color: var(--blue-3);
  font-size: 19px;
}

.control-icon i {
  display: block;
  line-height: 1;
}

.section-final {
  padding-bottom: 140px;
}

.footer-ascii-art + .section-final {
  padding-top: 56px;
  border-top: 0;
}

.final-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 70px;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.23);
  background: rgba(6, 24, 55, 0.78);
  box-shadow: inset 0 1px 0 rgba(219, 234, 254, 0.04);
  padding: 64px;
}

.final-card::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 18%;
  width: 520px;
  height: 360px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.17), transparent 68%);
  filter: blur(18px);
}

.final-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000);
}

.final-copy,
.final-actions {
  position: relative;
  z-index: 1;
}

.final-copy > p {
  max-width: 580px;
  margin-top: 24px;
}

.final-actions {
  display: grid;
  gap: 18px;
}

.mini-install {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(96, 165, 250, 0.17);
  background: rgba(2, 9, 22, 0.72);
  color: #b8cbe4;
  font-size: 10px;
}

.mini-install code {
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  padding: 15px 0 15px 16px;
  white-space: nowrap;
}

.mini-install-copy {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  min-height: 42px;
  margin-right: 4px;
  border: 1px solid transparent;
  background: transparent;
  color: #7f96b7;
  cursor: pointer;
  font-size: 16px;
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease;
}

.mini-install-copy:hover,
.mini-install-copy.is-copied {
  border-color: rgba(96, 165, 250, 0.18);
  background: rgba(30, 64, 175, 0.2);
  color: var(--blue-2);
}

.mini-install-copy:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 2px;
}

.copy-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 9px);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: var(--radius);
  background: #07152d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
  padding: 6px 8px;
  color: #dceaff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: opacity 140ms ease, transform 140ms ease;
}

.mini-install-copy.is-copied .copy-tooltip,
.mini-install-copy.is-copy-error .copy-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.final-links {
  display: flex;
  gap: 10px;
}

.final-links i {
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1;
}

.loki-mark {
  color: #9bc3ff;
  font-weight: 900;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: #dceaff;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.primary-link {
  background: rgba(37, 99, 235, 0.66);
}

.secondary-link {
  background: rgba(4, 17, 38, 0.65);
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-1px);
  border-color: rgba(219, 234, 254, 0.58);
}

.text-link:focus-visible,
.primary-link:focus-visible,
.secondary-link:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .section {
    padding: 94px 0;
  }

  .section-heading,
  .section-heading-wide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading p,
  .section-heading-wide p {
    max-width: 680px;
  }

  .split-feature {
    grid-template-columns: 1fr;
    gap: 52px;
  }

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

  .surface-card-primary {
    grid-column: 1 / -1;
  }

  .workflow-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .automation-panel {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 46px;
  }

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

  .final-card {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 720px) {
  .site-content {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .section,
  .section-intro {
    padding: 78px 0;
  }

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

  .section-heading h2,
  .split-copy h2,
  .automation-copy h2,
  .final-copy h2 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .ledger-item {
    grid-template-columns: 36px minmax(0, 1fr) 22px;
    gap: 12px;
    min-height: 0;
    padding: 30px 0;
  }

  .ledger-item:hover {
    padding: 30px 0;
    background: transparent;
  }

  .memory-flow {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px;
  }

  .memory-node {
    min-height: 128px;
  }

  .flow-line {
    height: 40px;
  }

  .flow-line::before {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: auto;
  }

  .flow-line span {
    display: none;
  }

  .surface-grid,
  .control-grid {
    grid-template-columns: 1fr;
  }

  .surface-card-primary {
    grid-column: auto;
  }

  .surface-card {
    min-height: 420px;
  }

  .workflow-shell {
    grid-template-columns: 1fr;
  }

  .workflow-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-right: 0;
    border-bottom: 1px solid rgba(96, 165, 250, 0.14);
  }

  .workflow-stage {
    min-height: 96px;
    border-right: 1px solid rgba(96, 165, 250, 0.11);
  }

  .workflow-stage.is-active {
    box-shadow: inset 0 3px 0 rgba(96, 165, 250, 0.72);
  }

  .console-lines {
    padding: 22px 18px 14px;
  }

  .console-lines p {
    grid-template-columns: 16px 1fr;
  }

  .console-time {
    display: none;
  }

  .console-result {
    margin: 8px 18px 18px;
  }

  .automation-panel {
    padding: 28px 20px;
  }

  .schedule-header,
  .schedule-row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 0 12px;
  }

  .schedule-header span:last-child,
  .status-pill {
    display: none;
  }

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

  .control-icon {
    margin-bottom: 42px;
  }

  .section-final {
    padding-bottom: 96px;
  }

  .footer-ascii-art + .section-final {
    padding-top: 42px;
  }

  .final-card {
    padding: 34px 22px;
  }

  .final-links {
    flex-direction: column;
  }

  .mini-install code {
    padding-left: 13px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .footer::before {
    animation: none;
  }

  .flow-line span {
    animation: none;
    opacity: 1;
  }

  .ledger-item,
  .ledger-mark,
  .text-link span,
  .primary-link,
  .secondary-link {
    transition: none;
  }
}

.widget-caret {
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -0.12em;
  opacity: 0;
}

.motion-ready .widget-caret.is-active {
  opacity: 1;
  animation: widget-caret-blink 760ms steps(1, end) infinite;
}

@keyframes widget-caret-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

.motion-ready [data-desktop-step="agent"],
.motion-ready [data-desktop-step="terminal"],
.motion-ready [data-desktop-process],
.motion-ready [data-desktop-output],
.motion-ready [data-desktop-review],
.motion-ready [data-terminal-step] {
  opacity: 0;
  transform: translateY(4px);
}

.motion-ready [data-desktop-step].is-visible,
.motion-ready [data-desktop-process].is-visible,
.motion-ready [data-desktop-output].is-visible,
.motion-ready [data-desktop-review].is-visible,
.motion-ready [data-terminal-step].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.mock-terminal-process,
.terminal-demo-process {
  position: relative;
  overflow: hidden;
  color: #6484ad;
}

.mock-terminal-process.is-running,
.terminal-demo-process.is-running,
.console-lines p.is-executing {
  color: #9ac7ff;
}

.mock-terminal-process.is-running::after,
.terminal-demo-process.is-running::after,
.console-lines p.is-executing::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 15%, rgba(219, 234, 254, 0.28) 45%, transparent 72%);
  transform: translateX(-120%);
  animation: execution-shimmer 1.15s ease-in-out infinite;
}

@keyframes execution-shimmer {
  to { transform: translateX(120%); }
}

.mock-terminal-output {
  color: #8fa8c8;
}

.terminal-prefix {
  color: var(--blue-3);
}

.terminal-demo-line {
  min-height: 1.8em;
}

.terminal-demo-spacer {
  height: 1.8em;
}

.terminal-demo-result {
  color: #8eb9f3;
}

.console-result {
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.workflow-console.is-running .console-result {
  opacity: 0.45;
  transform: translateY(3px);
}

.workflow-console.is-complete .console-result {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(96, 165, 250, 0.34);
}

.schedule-row {
  transition: opacity 240ms ease, transform 240ms ease, background 240ms ease;
}

.motion-ready .schedule-card:not(.is-decoded) .schedule-row {
  opacity: 0.68;
  transform: translateY(5px);
}

.motion-ready .schedule-card .schedule-row.is-decoding {
  opacity: 1;
  transform: translateY(0);
  background: rgba(30, 64, 175, 0.08);
}

.motion-ready .schedule-card.is-decoded .schedule-row {
  opacity: 1;
  transform: translateY(0);
}

.final-card::before {
  content: none;
}

@media (prefers-reduced-motion: reduce) {
  .widget-caret,
  .mock-terminal-process,
  .terminal-demo-process,
  .console-lines p,
  .schedule-row,
  .footer-ascii-art pre {
    animation: none !important;
    transition: none !important;
  }

  .motion-ready [data-desktop-step="agent"],
  .motion-ready [data-desktop-step="terminal"],
  .motion-ready [data-desktop-process],
  .motion-ready [data-desktop-output],
  .motion-ready [data-desktop-review],
  .motion-ready [data-terminal-step] {
    opacity: 1;
    transform: none;
  }

  .motion-ready .schedule-card:not(.is-decoded) .schedule-row {
    opacity: 1;
    transform: none;
  }
}

:root {
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --light-ink: #0b1525;
  --light-body: #536176;
  --light-muted: #6f7b8c;
  --light-line: #d8dee7;
  --light-blue: #245ec7;
  font-family: var(--font-sans);
}

body {
  font-family: var(--font-sans);
}

.hero {
  font-family: var(--font-mono);
}

.site-content {
  width: 100%;
  max-width: none;
  margin: 0;
}

.section {
  width: 100%;
  padding: 132px max(20px, calc((100% - 1180px) / 2));
  border-top-color: rgba(96, 165, 250, 0.12);
}

.section-intro {
  padding-top: 144px;
}

.section-light {
  color: var(--light-ink);
  border-top-color: var(--light-line);
}

.section-light-stone {
  background: #f4f5f1;
}

.section-light-white {
  background: #ffffff;
}

.section-light-blue {
  background: #eef3fa;
}

.section-dark-band {
  background:
    radial-gradient(circle at 10% 18%, rgba(59, 130, 246, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(2, 7, 18, 0.72), rgba(3, 10, 24, 0.92));
}

.section-dark-band-deep {
  background:
    radial-gradient(circle at 88% 10%, rgba(37, 99, 235, 0.10), transparent 32%),
    linear-gradient(180deg, rgba(3, 10, 24, 0.96), rgba(2, 6, 17, 0.82));
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.section-heading h2,
.split-copy h2,
.automation-copy h2,
.final-copy h2 {
  max-width: 880px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 500;
  line-height: 0.99;
  letter-spacing: -0.047em;
}

.section-heading p,
.split-copy > p,
.automation-copy > p,
.final-copy > p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.68;
  letter-spacing: -0.008em;
}

.ledger-item h3,
.surface-card h3,
.control-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.ledger-item p,
.surface-card > p,
.control-card p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: -0.006em;
}

.text-link,
.primary-link,
.secondary-link {
  font-family: var(--font-sans);
}

.text-link {
  font-size: 13px;
  font-weight: 700;
}

.memory-window,
.desktop-mock,
.terminal-mock,
.message-stack,
.workflow-console,
.schedule-card,
.mini-install,
.surface-topline,
.node-label,
.visual-caption {
  font-family: var(--font-mono);
}

.section-light .section-kicker {
  color: var(--light-blue);
}

.section-light .section-heading h2,
.section-light .split-copy h2,
.section-light .automation-copy h2,
.section-light .final-copy h2 {
  color: var(--light-ink);
}

.section-light .section-heading p,
.section-light .split-copy > p,
.section-light .automation-copy > p,
.section-light .final-copy > p {
  color: var(--light-body);
}

.section-light .benefit-ledger {
  border-top-color: #cfd7e2;
}

.section-light .ledger-item {
  border-bottom-color: #d6dce5;
}

.section-light .ledger-item:hover {
  background: rgba(36, 94, 199, 0.055);
}

.section-light .ledger-index {
  color: #8490a0;
}

.section-light .ledger-item h3 {
  color: #14233a;
}

.section-light .ledger-item p {
  color: #5b687a;
}

.section-light .ledger-mark {
  color: #8190a6;
}

.section-light .ledger-item:hover .ledger-mark {
  color: #245ec7;
}

.section-light .check-list {
  color: #435269;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
}

.section-light .check-list span,
.section-light .text-link {
  color: #245ec7;
}

.section-light .visual-caption {
  color: #68768a;
}

.section-light .memory-window,
.section-light .workflow-shell {
  box-shadow: 0 28px 70px rgba(21, 34, 54, 0.12);
}

.section-light-blue .workflow-shell {
  border-color: #c8d2e0;
}

.section-light .control-card {
  border-color: #d5dce5;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 32px rgba(22, 35, 55, 0.045);
}

.section-light .control-card h3 {
  color: #132137;
}

.section-light .control-card p {
  color: #5b687a;
}

.section-light .control-icon {
  border-color: #cbd6e6;
  background: #edf3fd;
  color: #245ec7;
}

.section-light .control-card:hover {
  border-color: #bdc9da;
  background: #ffffff;
}

.section-dark-band .section-heading h2,
.section-dark-band .automation-copy h2 {
  color: #f4f7fb;
}

.section-dark-band .section-heading p,
.section-dark-band .automation-copy > p {
  color: #9dacc1;
}

.surface-card,
.control-card,
.automation-panel,
.workflow-shell,
.memory-window,
.final-card {
  border-radius: 4px;
}

.footer-ascii-art {
  width: min(1180px, calc(100% - 40px));
  margin-top: 72px;
}

.section-final {
  background: transparent;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
}

.final-copy h2 {
  font-family: var(--font-display);
  font-weight: 500;
}

.final-copy > p,
.footer {
  font-family: var(--font-sans);
}

@media (max-width: 980px) {
  .section {
    padding: 108px 24px;
  }

  .section-intro {
    padding-top: 116px;
  }

  .section-heading h2,
  .split-copy h2,
  .automation-copy h2,
  .final-copy h2 {
    font-size: clamp(38px, 7vw, 58px);
  }

  .section-final {
    padding-inline: 24px;
  }
}

@media (max-width: 720px) {
  .site-content {
    width: 100%;
    max-width: none;
  }

  .section,
  .section-intro {
    padding: 82px 20px;
  }

  .section-heading h2,
  .split-copy h2,
  .automation-copy h2,
  .final-copy h2 {
    font-size: clamp(34px, 10.8vw, 46px);
    line-height: 1.01;
    letter-spacing: -0.042em;
  }

  .section-heading p,
  .split-copy > p,
  .automation-copy > p,
  .final-copy > p {
    font-size: 15px;
  }

  .ledger-item h3,
  .surface-card h3,
  .control-card h3 {
    font-size: 19px;
  }

  .footer-ascii-art {
    width: calc(100% - 40px);
    margin-top: 48px;
  }

  .section-final {
    padding-inline: 20px;
  }
}

/* Editorial light-widget polish + company ticker */
:root {
  --radius-internal: 16px;
}

.company-ticker {
  position: relative;
  z-index: 2;
  width: 100%;
  border-top: 1px solid rgba(147, 197, 253, 0.18);
  border-bottom: 1px solid rgba(147, 197, 253, 0.18);
  background: rgba(3, 10, 24, 0.88);
  color: #dbeafe;
}

.company-ticker-link {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  padding: 28px 24px;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
}

.company-ticker-title {
  color: #eef6ff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.company-ticker-copy {
  color: #8faed9;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.company-ticker-link:hover .company-ticker-copy {
  color: #b9cff0;
}

.company-ticker-link:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: -3px;
}

.section-light-white .memory-visual::before {
  inset: 14% 4% -8%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08), transparent 66%);
  filter: blur(32px);
}

.section-light-white .memory-window {
  border-color: #d5dce7;
  background: #f8fafc;
  box-shadow: 0 28px 70px rgba(21, 34, 54, 0.09);
}

.section-light-white .memory-window .window-bar {
  border-bottom-color: #dce3ec;
  background: #ffffff;
  color: #738097;
}

.section-light-white .memory-window .window-state {
  color: #245ec7;
}

.section-light-white .memory-flow {
  grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr) 58px minmax(0, 1fr);
  background:
    radial-gradient(circle at 18% 34%, rgba(59, 130, 246, 0.055), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #f3f6fa 100%);
}

.section-light-white .memory-node {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-color: #d6deea;
  border-radius: var(--radius-internal);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(25, 43, 70, 0.055);
}

.section-light-white .memory-node-input {
  border-color: #cbd7e8;
  background: #ffffff;
}

.section-light-white .memory-node-skill {
  border-color: #adc4e9;
  background: #eef5ff;
}

.section-light-white .memory-node .node-label {
  color: #6f83a0;
}

.section-light-white .memory-node strong {
  color: #14233a;
}

.section-light-white .memory-node small {
  color: #66758b;
}

.section-light-white .flow-line::before {
  background: #bfd0e8;
}

.section-light-white .flow-line span {
  background: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.09);
}

.section-light-white .visual-caption {
  color: #607087;
}

.section-light-white .visual-caption .pulse-dot {
  background: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.section-light-blue .workflow-shell {
  border-color: #cbd5e3;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(21, 34, 54, 0.1);
}

.section-light-blue .workflow-rail {
  border-right-color: #d9e0e9;
  background: #f7f9fc;
}

.section-light-blue .workflow-stage {
  border-bottom-color: #e0e6ee;
  color: #17243a;
}

.section-light-blue .workflow-stage:hover {
  background: #edf3fd;
}

.section-light-blue .workflow-stage > span {
  color: #7890ad;
}

.section-light-blue .workflow-stage strong {
  color: #2a3a52;
}

.section-light-blue .workflow-stage small {
  color: #738298;
}

.section-light-blue .workflow-stage.is-active {
  background: #e7f0ff;
  box-shadow: inset 3px 0 0 #3b82f6;
}

.section-light-blue .workflow-stage.is-active > span,
.section-light-blue .workflow-stage.is-active strong {
  color: #1f5fc7;
}

.memory-node {
  border-radius: var(--radius-internal);
}

.console-result {
  border-radius: var(--radius);
}

@media (max-width: 720px) {
  .company-ticker-link {
    min-height: 116px;
    padding: 30px 20px;
  }

  .company-ticker-title {
    font-size: 17px;
  }

  .company-ticker-copy {
    max-width: 320px;
    font-size: 13px;
  }

  .section-light-white .memory-flow {
    grid-template-columns: 1fr;
  }

  .section-light-blue .workflow-rail {
    border-right: 0;
    border-bottom-color: #d9e0e9;
  }

  .section-light-blue .workflow-stage {
    border-right-color: #e0e6ee;
  }

  .section-light-blue .workflow-stage.is-active {
    box-shadow: inset 0 3px 0 #3b82f6;
  }
}

@media (prefers-reduced-motion: reduce) {
}
