:root {
  color-scheme: dark;
  --ink: #f4efe2;
  --muted: #c1b89f;
  --muted-dim: #746c59;
  --line: rgba(244, 239, 226, 0.16);
  --paper: #050607;
  --panel: #10100d;
  --panel-2: #11161d;
  --accent: #d9b85a;
  --accent-strong: #edcb6d;
  --border-gold: rgba(217, 184, 90, 0.32);
  --blue: #7d8fa3;
  --marble: #e8dfcc;
  --terra: #ad674e;
  --emerald-bg: #00170f;
  --emerald-deep: #002818;
  --emerald-main: #00d95f;
  --emerald-hot: #00ff70;
  --emerald-soft: #7cffae;
  --emerald-text: #f4fff6;
  --emerald-muted: rgba(244, 255, 246, 0.68);
  --emerald-line: rgba(0, 255, 112, 0.28);
  --midas-gold: #d7a642;
}

* {
  box-sizing: border-box;
}

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

html {
  min-width: 320px;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  background:
    linear-gradient(rgba(244, 239, 225, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 225, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 70% 14%, rgba(217, 184, 90, 0.13), transparent 26rem),
    linear-gradient(180deg, var(--paper) 0%, #090c10 52%, var(--paper) 100%);
  background-size: 48px 48px, 48px 48px, auto, auto;
  font-family: Cinzel, Georgia, serif;
}

a {
  color: inherit;
}

.page {
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 64px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 800;
  text-decoration: none;
  font-family: Cinzel, Georgia, serif;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
  min-height: calc(92vh - 76px);
  padding: 42px 0 48px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-family: "JetBrains Mono", Consolas, monospace;
}

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

h1,
h2,
h3 {
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(2.05rem, 4.25vw, 3.65rem);
  line-height: 1;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h1 span + span {
  color: var(--accent);
}

.intro {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
  font-family: "JetBrains Mono", Consolas, monospace;
}

.hero-tools {
  margin-bottom: 28px;
}

.tool-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 400;
  text-transform: uppercase;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(16, 16, 13, 0.72);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.mini-button span {
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
}

.mini-button:hover {
  border-color: var(--border-gold);
  background: rgba(217, 184, 90, 0.07);
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-weight: 800;
  text-decoration: none;
  font-family: "JetBrains Mono", Consolas, monospace;
}

.button.primary {
  border-color: var(--border-gold);
  color: var(--ink);
  background: rgba(16, 16, 13, 0.72);
}

.button.primary:hover {
  border-color: var(--accent-strong);
  background: rgba(244, 239, 226, 0.06);
}

.button.secondary {
  background: rgba(244, 239, 225, 0.04);
}

.button.disabled {
  color: var(--muted);
  background: rgba(244, 239, 225, 0.035);
  cursor: not-allowed;
}

.visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.visual::before,
.visual::after {
  content: "";
  position: absolute;
  border-radius: 0;
  opacity: 0.75;
}

.visual::before {
  width: 180px;
  height: 180px;
  top: 34px;
  right: 18px;
  border: 1px solid rgba(217, 180, 95, 0.42);
  transform: rotate(45deg);
}

.visual::after {
  width: 210px;
  height: 80px;
  bottom: 18px;
  left: 0;
  border: 1px solid rgba(244, 239, 225, 0.24);
}

.hero-portrait {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  height: 560px;
  margin: 0;
  border: 1px solid rgba(217, 180, 95, 0.32);
  border-radius: 2px;
  background:
    radial-gradient(circle at 50% 18%, rgba(217, 180, 95, 0.18), transparent 16rem),
    rgba(8, 10, 13, 0.62);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.terminal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(244, 239, 225, 0.08), transparent 38%),
    var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.terminal-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  font-family: "JetBrains Mono", Consolas, monospace;
}

.terminal-card pre {
  margin: 0;
  padding: 44px 26px 22px;
  color: var(--accent);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  line-height: 1.2;
  white-space: pre-wrap;
}

.terminal-command {
  display: flex;
  gap: 12px;
  margin: 0 26px;
  padding: 18px;
  border: 1px solid rgba(217, 180, 95, 0.34);
  background: rgba(217, 180, 95, 0.08);
  color: var(--ink);
}

.terminal-command span {
  color: var(--accent);
  font-weight: 900;
}

.terminal-command code {
  font-family: "JetBrains Mono", Consolas, monospace;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 34px 26px 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.profile-grid div {
  min-height: 86px;
  padding: 16px;
  background: var(--paper);
}

.profile-grid small {
  display: none;
}

.profile-grid strong {
  color: var(--accent-strong);
  font-size: 1.15rem;
}

.section {
  max-width: none;
  padding: 96px 0;
}

.section h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section p,
.section-heading p,
.agent-panel p,
.midas-feature p,
.steps p,
.roadmap-node p,
.demo-panel {
  color: var(--muted);
  line-height: 1.7;
  font-family: "JetBrains Mono", Consolas, monospace;
}

.midas-feature,
.roadmap {
  padding: 96px 0;
}

.how-it-works {
  margin-left: calc(clamp(18px, 4vw, 64px) * -1);
  margin-right: calc(clamp(18px, 4vw, 64px) * -1);
  padding: clamp(72px, 9vw, 118px) clamp(18px, 4vw, 64px) 0;
  color: var(--ink);
  background: #050505;
}

.features-intro {
  max-width: 980px;
  margin: 0 auto clamp(34px, 5vw, 62px);
  text-align: center;
}

.features-intro .section-label {
  color: var(--accent);
}

.features-intro h2 {
  max-width: 920px;
  margin: 0 auto 22px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  line-height: 0.96;
  white-space: nowrap;
}

.features-intro p {
  max-width: 880px;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  line-height: 1.75;
}

.feature-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.feature-blocks article {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(3.75rem, auto) 1fr;
  height: clamp(560px, 48vw, 650px);
  min-height: 320px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(217, 184, 90, 0.18);
  background:
    linear-gradient(180deg, rgba(217, 184, 90, 0.055), transparent 42%),
    rgba(8, 8, 7, 0.86);
  box-shadow: none;
  overflow: hidden;
  perspective: 1200px;
}


.feature-with-image {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(3.75rem, auto) 1fr;
  align-content: start;
  gap: 0;
}

.feature-with-image figure {
  grid-column: 1;
  grid-row: 3;
  align-self: stretch;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 5.2rem;
  margin: 28px -14px -14px;
  border: 1px solid rgba(217, 184, 90, 0.16);
  background:
    radial-gradient(circle at 50% 18%, rgba(217, 184, 90, 0.22), transparent 16rem),
    rgba(8, 10, 13, 0.62);
  overflow: hidden;
}

.feature-with-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}
.feature-with-image figcaption {
  min-height: 0;
  padding: 16px 18px 18px;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.55;
}

.feature-blocks span {
  display: block;
  margin-bottom: 42px;
  color: var(--ink);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 800;
}

.feature-blocks h3 {
  min-height: 3.75rem;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.feature-blocks p {
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.7;
}

.pathos-transition {
  --pathos-accent: var(--accent);
  --pathos-accent-strong: var(--accent-strong);
  --pathos-accent-deep: #080807;
  --pathos-text-light: var(--ink);
  --pathos-roadmap-bg: var(--ink);
  position: relative;
  height: clamp(280px, 34vw, 500px);
  margin: clamp(104px, 10vw, 150px) calc(clamp(18px, 4vw, 64px) * -1) 0;
  overflow: visible;
  isolation: isolate;
  background: #050505;
}

.pathos-wordmark {
  position: absolute;
  bottom: -0.105em;
  left: 50%;
  z-index: 2;
  color: var(--pathos-roadmap-bg);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(150px, 25vw, 430px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: 0;
  opacity: 1;
  text-shadow: none;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.pathos-texture-layer {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 30%;
  background: transparent;
  opacity: 0;
  pointer-events: none;
}

.pathos-transition::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  pointer-events: none;
}

.pathos-transition::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 0;
  background: transparent;
  pointer-events: none;
}

.midas-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: -1px;
  margin-left: calc(clamp(18px, 4vw, 64px) * -1);
  margin-right: calc(clamp(18px, 4vw, 64px) * -1);
  padding: 30px clamp(18px, 4vw, 64px) 96px;
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0) 0%, #030303 76px, #030303 100%);
}

.agent-console {
  border: 1px solid var(--line);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(217, 184, 90, 0.045), transparent 30%),
    rgba(3, 4, 5, 0.88);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.agent-console > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.console-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: "JetBrains Mono", Consolas, monospace;
}

.console-switcher label {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
}

#profile-midas:checked ~ .console-switcher label[for="profile-midas"],
#profile-apollo:checked ~ .console-switcher label[for="profile-apollo"],
#profile-atlas:checked ~ .console-switcher label[for="profile-atlas"],
#profile-ares:checked ~ .console-switcher label[for="profile-ares"],
#profile-cadmus:checked ~ .console-switcher label[for="profile-cadmus"] {
  border-color: transparent;
  color: var(--ink);
  background: transparent;
}

.console-switcher label:not(:hover) {
  color: rgba(193, 184, 159, 0.42);
}

.console-switcher label:hover {
  color: var(--muted);
}

#profile-midas:checked ~ .console-switcher label[for="profile-midas"],
#profile-apollo:checked ~ .console-switcher label[for="profile-apollo"],
#profile-atlas:checked ~ .console-switcher label[for="profile-atlas"],
#profile-ares:checked ~ .console-switcher label[for="profile-ares"],
#profile-cadmus:checked ~ .console-switcher label[for="profile-cadmus"] {
  color: var(--ink);
}

.console-switcher kbd,
.command-search kbd {
  margin-left: auto;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-family: inherit;
  font-size: 0.82rem;
}

.console-profile {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  grid-template-areas:
    "portrait copy"
    "portrait meta";
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  padding: clamp(24px, 4vw, 44px);
}

.profile-panel {
  display: none;
}

#profile-midas:checked ~ .midas-profile,
#profile-apollo:checked ~ .apollo-profile,
#profile-atlas:checked ~ .atlas-profile,
#profile-ares:checked ~ .ares-profile,
#profile-cadmus:checked ~ .cadmus-profile {
  display: grid;
}

.portrait-stack {
  grid-area: portrait;
  display: grid;
  gap: 12px;
}

.midas-dossier {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.8fr) minmax(280px, 0.58fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
  padding: clamp(18px, 3vw, 28px) 0 clamp(24px, 4vw, 38px);
  border: 0;
  border-radius: 2px;
  background: transparent;
}

.dossier-portrait {
  height: 360px;
  min-height: 0;
  margin: 0;
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  background:
    radial-gradient(circle at 50% 20%, rgba(217, 184, 90, 0.16), transparent 14rem),
    rgba(3, 4, 5, 0.94);
  overflow: hidden;
}

.dossier-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.midas-feature-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 8px;
}

.identity-row {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.identity-row span {
  margin-left: auto;
  color: var(--accent);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.agent-role {
  margin: -6px 0 22px;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.98rem;
}

.midas-feature h2,
.how-it-works h2,
.roadmap h2 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: 0.95;
}

.how-it-works .features-intro h2 {
  font-size: clamp(1.9rem, 4.1vw, 3.85rem);
  line-height: 1;
}

.midas-feature-copy p {
  max-width: 680px;
  margin-bottom: 30px;
  font-size: 1.02rem;
}

.midas-feature #midas-title {
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
}

.midas-feature .identity-row h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
}

.midas-metadata {
  grid-area: meta;
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0;
  align-content: center;
}

.midas-metadata div {
  display: grid;
  gap: 7px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  background: transparent;
}

.midas-metadata div:first-child {
  border-top: 0;
}

.midas-metadata dt {
  color: var(--ink);
  font-family: Cinzel, Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
}

.midas-metadata dd {
  margin: 0;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.98rem;
}

.command-tree {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(217, 184, 90, 0.035), transparent 36%),
    #030405;
}

.command-deck {
  padding: clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(217, 184, 90, 0.035), transparent 38%),
    #030405;
}

.deck-header {
  display: grid;
  grid-template-columns: minmax(18px, 1fr) auto minmax(18px, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.deck-header span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.deck-header h3 {
  margin: 0;
  color: var(--accent);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.command-search {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(16, 16, 13, 0.72);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.82rem;
}

.command-table {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.command-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.42fr) minmax(180px, 1fr) minmax(130px, 0.44fr);
  gap: 18px;
  align-items: center;
  padding: 13px 0;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.9rem;
}

.command-row + .command-row {
  border-top: 1px solid rgba(244, 239, 226, 0.08);
}

.command-head {
  color: var(--muted-dim);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.command-row code {
  color: var(--ink);
  font-family: inherit;
}

.command-row strong {
  color: var(--accent);
  font-weight: 700;
}

.deck-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.deck-tags span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(16, 16, 13, 0.5);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.78rem;
}

.compact-terminal {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #030405;
  overflow: hidden;
}

.compact-terminal-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.terminal-panels {
  position: relative;
  min-height: 244px;
  background: #030405;
  overflow: hidden;
}

.terminal-panels pre {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 12px 14px;
  overflow: hidden;
  background: #030405;
  white-space: pre-wrap;
  opacity: 0;
  animation: terminal-panel-rotate 12s infinite;
}

.terminal-panels pre:nth-child(2) {
  animation-delay: 6s;
}

.terminal-panels pre:only-child {
  opacity: 1;
  animation: none;
}

.terminal-panels code {
  color: var(--ink);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(0.62rem, 0.82vw, 0.72rem);
  line-height: 1.38;
}

.terminal-panels code span {
  color: var(--accent);
}

.terminal-panels code em {
  color: var(--muted);
  font-style: normal;
}

@keyframes terminal-panel-rotate {
  0%,
  43% {
    opacity: 1;
  }

  50%,
  93% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.tree-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
}

.command-tree pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
}

.command-tree code {
  color: var(--ink);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(0.8rem, 1.25vw, 0.98rem);
  line-height: 1.8;
}

.tree-root,
.tree-command {
  color: var(--ink);
}

.tree-branch,
.tree-output {
  color: var(--accent);
}

.tree-desc {
  color: var(--muted);
}

.midas-side {
  display: grid;
  gap: 18px;
}

.install-terminal,
.demo-panel {
  display: grid;
  align-content: start;
  gap: 30px;
  min-height: 100%;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(244, 239, 226, 0.035), transparent 45%),
    rgba(5, 6, 8, 0.62);
}

.install-terminal {
  gap: 18px;
  border-color: var(--border-gold);
  background:
    linear-gradient(180deg, rgba(217, 180, 95, 0.08), transparent 48%),
    rgba(5, 6, 8, 0.62);
}

.hero-install {
  width: min(100%, 680px);
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.install-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 400;
  text-transform: uppercase;
}

.hero-install h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.hero-install p:not(.install-kicker) {
  max-width: 620px;
  margin: 0 0 16px;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.65;
}

.hero-install-tabs .install-tab-list {
  max-width: none;
}

.terminal-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.terminal-header span:first-child {
  color: var(--accent-strong);
}

.install-tabs > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.install-tabs {
  max-width: 620px;
  padding: 10px;
  border: 1px solid var(--line);
  background: rgba(16, 16, 13, 0.72);
}

.install-tab-list {
  display: flex;
  justify-content: flex-start;
  gap: 22px;
  margin-bottom: 10px;
}

.install-tab-list label {
  flex: 0 0 auto;
  padding: 6px 0;
  border: 0;
  color: rgba(193, 184, 159, 0.48);
  background: transparent;
  cursor: pointer;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-transform: none;
}

#install-unix:checked ~ .install-tab-list label[for="install-unix"],
#install-windows:checked ~ .install-tab-list label[for="install-windows"] {
  color: var(--ink);
  background: transparent;
}

.install-command {
  display: none;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  background: transparent;
}

#install-unix:checked ~ .unix-command,
#install-windows:checked ~ .windows-command {
  display: grid;
}

.hero-install-tabs .install-command {
  display: none;
}

.hero-install-tabs #install-unix:checked ~ .unix-command,
.hero-install-tabs #install-windows:checked ~ .windows-command {
  display: none;
}

.install-coming-soon {
  margin: 0;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(0.72rem, 1vw, 0.84rem);
  font-weight: 800;
  text-transform: uppercase;
}

.install-command span,
.install-command code {
  font-family: "JetBrains Mono", Consolas, monospace;
}

.install-command span {
  color: var(--muted-dim);
  font-weight: 800;
}

.install-command code {
  min-width: 0;
  overflow: visible;
  color: var(--ink);
  font-size: clamp(0.64rem, 1vw, 0.78rem);
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.install-command code span {
  color: var(--muted);
}

.install-command button {
  width: auto;
  height: 24px;
  padding: 0 2px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.install-command button:hover {
  color: var(--ink);
}

.install-command button svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.demo-panel h3 {
  margin-bottom: 14px;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.demo-panel code {
  display: block;
  padding: 8px 0;
  color: var(--ink);
  font-family: "JetBrains Mono", Consolas, monospace;
}

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

.steps article {
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(244, 239, 225, 0.045);
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border: 1px solid rgba(217, 180, 95, 0.62);
  color: var(--accent-strong);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-weight: 700;
}

.steps h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}

.roadmap {
  --roadmap-bg: var(--ink);
  --roadmap-line: rgba(215, 166, 66, 0.28);
  --roadmap-line-active: rgba(215, 166, 66, 0.85);
  --roadmap-text: #080807;
  --roadmap-muted: #5f5848;
  --midas-gold: #d7a642;
  --midas-gold-soft: #8f6c25;
  --future-border: rgba(5, 5, 5, 0.16);
  --future-fill: rgba(5, 5, 5, 0.035);
  --roadmap-tilt-x: 0deg;
  --roadmap-tilt-y: 0deg;
  --roadmap-depth-x: 0px;
  --roadmap-depth-y: 0px;
  --roadmap-haze-x: 0px;
  --roadmap-haze-y: 0px;
  --roadmap-frame-inset: 76px;
  --roadmap-safe-inset: clamp(140px, 18vw, 250px);
  --roadmap-pillar-left-offset: -82px;
  --roadmap-pillar-right-offset: -74px;
  margin-left: calc(clamp(18px, 4vw, 64px) * -1);
  margin-right: calc(clamp(18px, 4vw, 64px) * -1);
  position: relative;
  padding: clamp(42px, 5vw, 72px) clamp(18px, 4vw, 64px) clamp(440px, 36vw, 620px);
  background: var(--roadmap-bg);
  overflow: hidden;
  perspective: 1200px;
  isolation: isolate;
}
.roadmap::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, var(--roadmap-bg) 0%, rgba(244, 239, 226, 0.72) 24%, rgba(244, 239, 226, 0.34) 58%, rgba(244, 239, 226, 0.72) 82%, var(--roadmap-bg) 100%);
  background-blend-mode: normal;
  opacity: 0.76;
  pointer-events: none;
}

.roadmap::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    url("assets/Pillar.png") left var(--roadmap-pillar-left-offset) center / auto 100% no-repeat,
    url("assets/Pillar2.png") right var(--roadmap-pillar-right-offset) center / auto 100% no-repeat,
    linear-gradient(180deg, var(--roadmap-bg) 0%, rgba(244, 239, 226, 0.16) 20%, transparent 54%, rgba(244, 239, 226, 0.46) 82%, var(--roadmap-bg) 100%),
    radial-gradient(ellipse at 50% 35%, transparent 0%, rgba(244, 239, 226, 0.12) 62%, rgba(244, 239, 226, 0.38) 100%);
  background-blend-mode: normal, normal, normal, normal;
  opacity: 0.86;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 78%);
}

.roadmap > * {
  position: relative;
  z-index: 2;
}

.roadmap-agent-wordmark {
  position: absolute;
  bottom: -0.105em;
  left: 50%;
  z-index: 4;
  color: #030303;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(150px, 25vw, 430px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: 0;
  opacity: 1;
  transform: translateX(-50%);
  white-space: nowrap;
  pointer-events: none;
}

.roadmap-heading {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(18px, 2.5vw, 34px);
  text-align: center;
}

.roadmap-heading h2 {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--roadmap-text);
}

.roadmap-heading > p:last-child {
  max-width: 780px;
  color: var(--roadmap-muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  line-height: 1.75;
}

.roadmap-mobile-title {
  display: block;
  width: min(calc(100% - var(--roadmap-frame-inset)), 1240px);
  margin: 0 auto 14px;
  color: var(--roadmap-text);
  font-size: clamp(1.9rem, 4.1vw, 3.85rem);
  line-height: 1;
  position: relative;
  z-index: 6;
  text-align: center;
}

.roadmap-map-layout {
  position: relative;
  z-index: 4;
  display: grid;
  gap: clamp(4px, 0.8vw, 9px);
  width: min(calc(100% - var(--roadmap-safe-inset)), 1120px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.roadmap-map-layout::before {
  display: none;
}

.roadmap:has(.roadmap-map-node.is-active) .roadmap-map-layout::before {
  opacity: 0;
}

.roadmap-map {
  position: relative;
  width: 100%;
  aspect-ratio: 17 / 9;
  margin: 0 auto;
  overflow: hidden;
}

.roadmap-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 56%, rgba(95, 72, 34, 0.16) 72%, rgba(8, 8, 7, 0.24) 100%),
    linear-gradient(90deg, rgba(8, 8, 7, 0.2), transparent 16%, transparent 84%, rgba(8, 8, 7, 0.2)),
    linear-gradient(180deg, rgba(8, 8, 7, 0.16), transparent 18%, transparent 82%, rgba(8, 8, 7, 0.18));
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0 58%, rgba(0, 0, 0, 0.9) 72%, transparent 100%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0 58%, rgba(0, 0, 0, 0.9) 72%, transparent 100%);
  pointer-events: none;
}

.roadmap-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, var(--roadmap-bg) 0%, var(--roadmap-bg) 3%, rgba(244, 239, 226, 0.72) 7%, rgba(244, 239, 226, 0.18) 12%, transparent 18%, transparent 82%, rgba(244, 239, 226, 0.18) 88%, rgba(244, 239, 226, 0.72) 93%, var(--roadmap-bg) 97%, var(--roadmap-bg) 100%),
    linear-gradient(180deg, var(--roadmap-bg) 0%, var(--roadmap-bg) 3%, rgba(244, 239, 226, 0.66) 7%, rgba(244, 239, 226, 0.16) 12%, transparent 18%, transparent 84%, rgba(244, 239, 226, 0.22) 90%, rgba(244, 239, 226, 0.76) 95%, var(--roadmap-bg) 98%, var(--roadmap-bg) 100%),
    radial-gradient(circle at 6% 12%, rgba(8, 8, 7, 0.22), transparent 9%),
    radial-gradient(circle at 92% 18%, rgba(8, 8, 7, 0.2), transparent 8%),
    radial-gradient(circle at 12% 88%, rgba(8, 8, 7, 0.16), transparent 10%),
    radial-gradient(circle at 84% 84%, rgba(8, 8, 7, 0.14), transparent 11%),
    radial-gradient(circle at 24% 3%, rgba(8, 8, 7, 0.16), transparent 7%),
    radial-gradient(circle at 54% 98%, rgba(8, 8, 7, 0.18), transparent 8%),
    radial-gradient(circle at 99% 52%, rgba(8, 8, 7, 0.16), transparent 7%),
    radial-gradient(circle at 1% 62%, rgba(8, 8, 7, 0.14), transparent 8%);
  opacity: 1;
  pointer-events: none;
}

.roadmap-map-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0.74;
  filter: sepia(0.14) saturate(0.38) contrast(1.28) brightness(0.92);
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0 64%, rgba(0, 0, 0, 0.84) 77%, transparent 100%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0 64%, rgba(0, 0, 0, 0.84) 77%, transparent 100%);
  pointer-events: none;
}

.roadmap-route {
  position: absolute;
  inset: 18% 10% 8% 8%;
  border: 1px solid rgba(8, 8, 7, 0.12);
  border-top: 0;
  border-left: 0;
  border-radius: 0 0 48% 0;
  opacity: 0.46;
  pointer-events: none;
}

.roadmap-map-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  display: inline-grid;
  grid-template-columns: auto max-content;
  align-items: center;
  gap: 10px;
  border: 0;
  color: var(--roadmap-text);
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transform: translate(-50%, -50%);
}

.roadmap-map-node:focus-visible {
  outline: 2px solid var(--midas-gold);
  outline-offset: 8px;
}

.map-dot {
  position: relative;
  width: 13px;
  height: 13px;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  background:
    radial-gradient(circle, var(--midas-gold) 0 38%, transparent 40%),
    radial-gradient(circle, transparent 0 48%, rgba(8, 8, 7, 0.34) 50% 55%, transparent 57%),
    #030405;
  box-shadow:
    0 0 0 4px #030405,
    0 0 0 5px rgba(217, 184, 90, 0.3),
    0 0 22px rgba(215, 166, 66, 0.28);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.map-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 1px solid rgba(217, 184, 90, 0.22);
  opacity: 0.58;
  pointer-events: none;
}

.map-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: var(--midas-gold);
  box-shadow: 0 0 12px rgba(215, 166, 66, 0.34);
  pointer-events: none;
}

.map-label {
  display: grid;
  gap: 3px;
  padding: 7px 9px;
  border: 1px solid rgba(8, 8, 7, 0.24);
  background: rgba(244, 239, 226, 0.86);
  box-shadow: 0 14px 34px rgba(8, 8, 7, 0.14);
  transition: opacity 180ms ease, transform 180ms ease;
}

.map-label strong {
  font-size: 0.7rem;
  white-space: nowrap;
  line-height: 1;
}

.map-label small {
  color: var(--roadmap-muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.66rem;
  line-height: 1.25;
}

.roadmap-map-node:not(.is-active) {
  opacity: 0.92;
}

.roadmap-map-node.is-active {
  opacity: 1;
}

.roadmap-map-node.is-active .map-dot {
  background:
    radial-gradient(circle, var(--accent) 0 42%, transparent 44%),
    radial-gradient(circle, transparent 0 48%, rgba(217, 184, 90, 0.5) 50% 55%, transparent 57%),
    #030405;
  border-color: var(--accent-strong);
  box-shadow:
    0 0 0 5px #030405,
    0 0 0 9px rgba(215, 166, 66, 0.28),
    0 0 40px rgba(215, 166, 66, 0.48);
  transform: scale(1.18);
}

.roadmap-map-node.is-active .map-dot::before,
.roadmap-map-node.is-active .map-dot::after {
  opacity: 0.66;
}

.roadmap-map-node.is-active .map-dot::after {
  background: var(--accent);
}

.roadmap-map-node.is-active .map-label {
  transform: translateY(-2px);
}

.roadmap-detail-panels {
  position: relative;
  z-index: 4;
  width: 100%;
  min-height: clamp(50px, 5vw, 68px);
  padding: clamp(2px, 0.5vw, 6px) clamp(4px, 0.8vw, 10px) 0;
  transform: none;
}

.roadmap-detail {
  position: absolute;
  inset: clamp(2px, 0.5vw, 6px) clamp(4px, 0.8vw, 10px) 0;
  display: grid;
  grid-template-columns: auto auto auto minmax(0, 1fr);
  gap: 8px clamp(12px, 1.8vw, 24px);
  align-items: baseline;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
}

.roadmap-detail.is-active {
  opacity: 1;
}

.roadmap-detail h3 {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--roadmap-text);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.roadmap-detail p {
  margin-bottom: 0;
  color: var(--roadmap-muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.roadmap-detail > p:last-child {
  grid-column: 1 / -1;
}

.roadmap-detail .roadmap-role {
  color: var(--roadmap-text);
  font-weight: 800;
}

.roadmap-status-label {
  grid-column: auto;
  justify-self: start;
  color: var(--midas-gold);
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

@media (min-width: 821px) {
  .roadmap-map-node {
    --label-anchor-shift: 28px;
    width: 13px;
    height: 13px;
    grid-template-columns: 13px;
    gap: 0;
    transform: translate(calc(-50% - var(--label-anchor-shift)), -50%);
  }

  .roadmap-map-node[data-roadmap-target="midas"],
  .roadmap-map-node[data-roadmap-target="atlas"] {
    --label-anchor-shift: 26px;
  }

  .roadmap-map-node[data-roadmap-target="apollo"] {
    --label-anchor-shift: 30px;
  }

  .roadmap-map-node[data-roadmap-target="ares"] {
    --label-anchor-shift: 22px;
  }

  .roadmap-map-node[data-roadmap-target="council"] {
    --label-anchor-shift: 34px;
  }

  .roadmap-map-node .map-label {
    position: absolute;
    top: 50%;
    left: 28px;
    transform: translateY(-50%);
  }

  .roadmap-map-node.is-active .map-label {
    transform: translateY(calc(-50% - 2px));
  }
}

.roadmap-availability {
  color: var(--midas-gold);
  font-weight: 800;
}

.roadmap-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
  margin: 0;
  padding: 42px 0 0;
  list-style: none;
  transform: rotateX(var(--roadmap-tilt-x)) rotateY(var(--roadmap-tilt-y));
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}


.roadmap-line::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -34px;
  height: 96px;
  background: radial-gradient(ellipse at center, rgba(215, 166, 66, 0.12) 0%, rgba(5, 5, 5, 0.42) 42%, transparent 72%);
  filter: blur(10px);
  opacity: 0.72;
  transform: translate3d(var(--roadmap-haze-x), var(--roadmap-haze-y), -120px) rotateX(72deg);
  pointer-events: none;
  z-index: -1;
}

.roadmap-line::before {
  display: none;
}

.roadmap-node {
  position: relative;
  min-width: 0;
  transform-style: preserve-3d;
}

.roadmap-marker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 16px;
  margin-bottom: 24px;
}

.roadmap-dot {
  width: 14px;
  height: 14px;
  border: 1px solid var(--future-border);
  border-radius: 999px;
  background: var(--roadmap-bg);
}

.roadmap-node.is-active .roadmap-dot {
  width: 18px;
  height: 18px;
  background: var(--midas-gold);
  border-color: var(--midas-gold-soft);
  box-shadow: 0 0 28px rgba(215, 166, 66, 0.36);
}


.roadmap-node-body {
  min-height: 284px;
  padding: 18px;
  border: 1px solid var(--future-border);
  background:
    linear-gradient(180deg, rgba(246, 240, 230, 0.045), transparent 54%),
    var(--future-fill);
  transform: translateZ(0);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}


.roadmap-node:hover .roadmap-node-body {
  border-color: rgba(246, 240, 230, 0.3);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  transform: translateY(-6px) translateZ(34px) rotateX(2deg);
}

.roadmap-node:hover .roadmap-dot {
  box-shadow: 0 0 26px rgba(215, 166, 66, 0.24);
}

.roadmap-node.is-active .roadmap-node-body {
  border-color: rgba(215, 166, 66, 0.58);
  background:
    linear-gradient(180deg, rgba(215, 166, 66, 0.12), transparent 58%),
    rgba(215, 166, 66, 0.035);
  box-shadow: 0 0 32px rgba(215, 166, 66, 0.09);
}


.roadmap-step {
  display: block;
  margin-bottom: 14px;
  color: var(--roadmap-muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 800;
}

.roadmap-node h3 {
  margin-bottom: 14px;
  color: var(--roadmap-text);
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  line-height: 1;
}

.roadmap-status {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 9px;
  border: 1px solid var(--future-border);
  color: var(--roadmap-muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
}

.roadmap-node.is-active .roadmap-status {
  color: var(--roadmap-text);
  border-color: rgba(215, 166, 66, 0.72);
  background: rgba(215, 166, 66, 0.12);
}

.roadmap-role {
  margin-bottom: 10px;
  color: var(--roadmap-text);
  font-weight: 800;
}

.roadmap-node p {
  margin-bottom: 0;
  color: var(--roadmap-muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.65;
}

.site-footer {
  position: relative;
  display: grid;
  gap: 14px;
  justify-items: center;
  margin: 0 calc(clamp(18px, 4vw, 64px) * -1);
  padding: 104px clamp(18px, 4vw, 64px) 42px;
  border-top: 0;
  background: #030303;
  overflow: hidden;
}

.site-footer::before {
  display: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(244, 239, 225, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 225, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent 0, transparent 54px, #000 132px, #000 100%);
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-mark {
  color: var(--ink);
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1;
  text-shadow: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.footer-links a {
  padding: 6px 0;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--accent);
}
.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--accent-strong);
  background: rgba(244, 239, 225, 0.045);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-weight: 700;
}

.agents {
  padding: 32px 0 110px;
}

.section-heading {
  max-width: none;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.agent-tabs > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.tab-list label {
  min-width: 104px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  background: rgba(244, 239, 225, 0.045);
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  font-family: "JetBrains Mono", Consolas, monospace;
}

.tab-list label:hover {
  color: var(--ink);
  border-color: rgba(213, 173, 88, 0.5);
}

#agent-midas:checked ~ .tab-list label[for="agent-midas"],
#agent-apollo:checked ~ .tab-list label[for="agent-apollo"],
#agent-atlas:checked ~ .tab-list label[for="agent-atlas"],
#agent-ares:checked ~ .tab-list label[for="agent-ares"] {
  color: #12100b;
  border-color: var(--accent);
  background: var(--accent);
}

.agent-panels {
  border: 1px solid var(--line);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(213, 173, 88, 0.1), transparent 36%),
    rgba(244, 239, 225, 0.055);
  overflow: hidden;
}

.agent-panel {
  display: none;
  min-height: 620px;
  padding: clamp(28px, 4vw, 56px);
}

#agent-midas:checked ~ .agent-panels .midas-panel,
#agent-apollo:checked ~ .agent-panels .apollo-panel,
#agent-atlas:checked ~ .agent-panels .atlas-panel,
#agent-ares:checked ~ .agent-panels .ares-panel {
  display: grid;
}

.midas-panel,
.apollo-panel,
.atlas-panel,
.ares-panel {
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1fr);
  grid-template-areas:
    "portrait copy"
    "portrait meta"
    "portrait cta";
  align-items: start;
  gap: 30px;
}

.agent-portrait {
  grid-area: portrait;
  align-self: start;
  width: 100%;
  height: 508px;
  margin: 0;
  border: 1px solid rgba(217, 180, 95, 0.32);
  border-radius: 2px;
  background:
    radial-gradient(circle at 50% 24%, rgba(217, 180, 95, 0.22), transparent 15rem),
    rgba(5, 6, 8, 0.6);
  overflow: hidden;
}

.agent-portrait img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.apollo-panel .agent-portrait img,
.atlas-panel .agent-portrait img,
.ares-panel .agent-portrait img {
  transform: scale(1.18);
  transform-origin: center top;
}

.midas-copy {
  grid-area: copy;
}

.agent-copy {
  grid-area: copy;
}

.midas-panel .button,
.apollo-panel .button,
.atlas-panel .button,
.ares-panel .button {
  grid-area: cta;
  justify-self: start;
  align-self: end;
}

.agent-status {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  font-family: "JetBrains Mono", Consolas, monospace;
}

.agent-status.available {
  color: var(--ink);
  border-color: var(--border-gold);
  background: rgba(16, 16, 13, 0.62);
}

.agent-panel h3 {
  margin-bottom: 14px;
  font-size: clamp(2.3rem, 7vw, 5rem);
  line-height: 0.95;
}

.agent-panel p {
  max-width: 640px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.agent-meta {
  grid-area: meta;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.agent-meta div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(8, 11, 17, 0.32);
}

.agent-meta dt {
  display: none;
}

.agent-meta dd {
  margin: 0;
  color: var(--ink);
}



@media (prefers-reduced-motion: reduce) {
  .roadmap,
  .roadmap::before,
  .roadmap-line,
  .roadmap-node-body,
  .roadmap-dot {
    transition: none;
    transform: none;
  }
}
@media (max-width: 1100px) {
  .roadmap-map-layout {
    display: grid;
    gap: clamp(4px, 0.8vw, 9px);
  }

  .roadmap-map-layout::before {
    display: none;
  }

  .roadmap-detail-panels {
    position: relative;
    width: 100%;
    transform: none;
    justify-self: stretch;
  }

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

.roadmap-line::before {
    display: none;
  }

  .roadmap-node-body {
    min-height: 230px;
  }
}
@media (max-width: 820px) {
  .page {
    width: 100%;
    padding: 0 14px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .brand {
    align-self: center;
    font-size: clamp(1.65rem, 7vw, 2.15rem);
    text-align: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: clamp(18px, 7vw, 34px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
    padding: 44px 0 36px;
  }

  .hero-copy {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  h1 {
    font-size: clamp(2.3rem, 10.2vw, 3.85rem);
  }

  .tool-heading {
    align-items: flex-start;
  }

  .hero-tools {
    justify-self: stretch;
  }

  .hero-install {
    justify-self: stretch;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .hero-install h2 {
    text-align: left;
  }

  .visual {
    min-height: 360px;
  }

  .terminal-card {
    width: min(100%, 380px);
    min-height: 380px;
  }

  .hero-portrait {
    width: min(100%, 380px);
    height: 440px;
  }

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

  .midas-feature,
  .how-it-works,
  .roadmap {
    padding: 70px 0;
  }

  .how-it-works {
    padding: 64px 14px 0;
  }

  .pathos-transition {
    height: clamp(240px, 68vw, 360px);
    margin: 42px -14px 0;
    overflow-x: clip;
    overflow-y: visible;
  }

  .pathos-wordmark {
    font-size: clamp(128px, 24vw, 190px);
  }

  .pathos-texture-layer {
    inset: auto 0 0;
    height: 32%;
  }

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

  .feature-blocks article {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: 640px;
    min-height: auto;
  }

  .feature-blocks span,
  .feature-blocks h3,
  .feature-blocks p,
  .feature-with-image figure {
    grid-column: 1;
    grid-row: auto;
  }

  .feature-with-image figure {
    grid-template-rows: minmax(0, 1fr) 6.8rem;
    height: 480px;
    aspect-ratio: auto;
  }

  .feature-with-image img {
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .midas-feature {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px 14px 70px;
  }

  .console-switcher {
    flex-wrap: wrap;
  }

  .console-switcher kbd {
    margin-left: 0;
  }

  .console-profile {
    grid-template-columns: 1fr;
    grid-template-areas:
      "portrait"
      "copy"
      "meta";
    gap: 24px;
    padding: 22px;
  }

  .midas-dossier {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 18px 0 24px;
  }

  .dossier-portrait {
    min-height: 380px;
  }

  .identity-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .identity-row span {
    margin-left: 0;
  }

  .command-tree {
    padding: 22px;
  }

  .command-tree code {
    font-size: 0.76rem;
    line-height: 1.7;
  }

  .command-deck {
    padding: 22px;
  }

  .command-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }

  .command-head {
    display: none;
  }

  .compact-terminal-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .terminal-panels {
    grid-template-columns: 1fr;
  }

  .midas-metadata div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .demo-panel {
    padding: 22px;
  }
  .steps {
    grid-template-columns: 1fr;
  }

  .steps article {
    min-height: auto;
  }

  .roadmap {
    margin-left: -14px;
    margin-right: -14px;
    padding: 76px 14px 280px;
  }

  .roadmap::before {
    inset: 0;
    background:
      url("assets/Vine.png") left -94px top 118px / auto 70% no-repeat,
      linear-gradient(180deg, var(--roadmap-bg) 0%, rgba(244, 239, 226, 0.72) 24%, rgba(244, 239, 226, 0.34) 58%, rgba(244, 239, 226, 0.72) 82%, var(--roadmap-bg) 100%),
      url("assets/Wall.png") center center / cover no-repeat;
    background-blend-mode: normal, screen, multiply;
    opacity: 0.72;
  }

  .roadmap::after {
    background:
      linear-gradient(180deg, var(--roadmap-bg) 0%, rgba(244, 239, 226, 0.34) 24%, rgba(244, 239, 226, 0.24) 68%, rgba(244, 239, 226, 0.66) 86%, var(--roadmap-bg) 100%),
      radial-gradient(ellipse at 50% 24%, transparent 0%, rgba(244, 239, 226, 0.28) 52%, rgba(244, 239, 226, 0.68) 100%);
    background-blend-mode: normal, normal;
    opacity: 0.86;
  }

  .roadmap-mobile-title {
    display: block;
    width: 100%;
    max-width: 820px;
    margin: 0 0 48px;
    color: var(--roadmap-text);
    font-size: clamp(4rem, 11vw, 6.8rem);
    line-height: 1;
    z-index: 6;
    text-align: left;
  }

  .roadmap-heading h2 {
    font-size: clamp(2.4rem, 14vw, 4.2rem);
  }

  .roadmap-agent-wordmark {
    bottom: -0.105em;
    font-size: clamp(128px, 24vw, 190px);
  }

  .roadmap-map-layout {
    min-height: auto;
    width: min(calc(100% - var(--roadmap-frame-inset)), 1240px);
    padding: 18px;
  }

  .roadmap-map {
    display: none;
  }

  .roadmap-detail-panels {
    position: relative;
    display: grid;
    gap: 0;
    width: 100%;
    min-height: 0;
    padding: 0;
    justify-self: stretch;
  }

  .roadmap-detail-panels::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 7px;
    width: 1px;
    background: linear-gradient(180deg, rgba(8, 8, 7, 0.16), rgba(215, 166, 66, 0.72), rgba(8, 8, 7, 0.16));
  }

  .roadmap-detail {
    position: relative;
    inset: auto;
    display: grid;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0 16px 30px;
    border-top: 1px solid rgba(8, 8, 7, 0.12);
    opacity: 1;
    pointer-events: auto;
  }

  .roadmap-detail h3 {
    color: var(--ink);
  }

  .roadmap-detail p {
    color: var(--muted);
  }

  .roadmap-detail .roadmap-role {
    color: var(--accent);
  }

  .roadmap-detail:first-child {
    border-top: 0;
  }

  .roadmap-detail::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 2px;
    z-index: 1;
    width: 11px;
    height: 11px;
    border: 1px solid rgba(8, 8, 7, 0.4);
    border-radius: 999px;
    background: var(--roadmap-bg);
    box-shadow: 0 0 0 5px rgba(215, 166, 66, 0.12);
  }

  .roadmap-detail.is-active::before,
  .roadmap-detail:first-child::before {
    border-color: var(--accent-strong);
    background: var(--accent);
    box-shadow:
      0 0 0 6px rgba(215, 166, 66, 0.18),
      0 0 24px rgba(215, 166, 66, 0.34);
  }

  .roadmap-detail > p:last-child {
    grid-column: 1;
  }

  .roadmap-line {
    display: block;
    padding: 8px 0 0 28px;
  }

  .roadmap-line::before {
    display: block;
    top: 16px;
    bottom: 0;
    left: 6px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--roadmap-line-active), var(--roadmap-line), transparent);
  }

  .roadmap-node {
    margin-bottom: 18px;
  }

  .roadmap-node::before {
    display: none;
  }

  .roadmap-marker {
    position: absolute;
    top: 2px;
    left: -28px;
    margin: 0;
  }

  .roadmap-node-body {
    min-height: auto;
    padding: 18px;
  }

  .midas-panel,
  .apollo-panel,
  .atlas-panel,
  .ares-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "portrait"
      "copy"
      "meta"
      "cta";
  }

  .agent-portrait,
  .agent-portrait img {
    height: 360px;
  }

  .agent-meta {
    grid-template-columns: 1fr;
  }

  .agent-panel {
    min-height: 760px;
    padding: 24px;
  }

  .tab-list label {
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
  }

}

@media (max-width: 759px) {
  .roadmap::after {
    background:
      linear-gradient(180deg, var(--roadmap-bg) 0%, rgba(244, 239, 226, 0.34) 24%, rgba(244, 239, 226, 0.24) 68%, rgba(244, 239, 226, 0.66) 86%, var(--roadmap-bg) 100%),
      radial-gradient(ellipse at 50% 24%, transparent 0%, rgba(244, 239, 226, 0.28) 52%, rgba(244, 239, 226, 0.68) 100%);
    background-blend-mode: normal, normal;
  }

  .roadmap-mobile-title {
    width: 100%;
    max-width: 820px;
  }
}

@media (max-width: 570px) {
  .roadmap::after {
    background:
      linear-gradient(180deg, var(--roadmap-bg) 0%, rgba(244, 239, 226, 0.34) 24%, rgba(244, 239, 226, 0.24) 68%, rgba(244, 239, 226, 0.66) 86%, var(--roadmap-bg) 100%),
      radial-gradient(ellipse at 50% 24%, transparent 0%, rgba(244, 239, 226, 0.28) 52%, rgba(244, 239, 226, 0.68) 100%);
    background-blend-mode: normal, normal;
  }

  .feature-blocks article {
    height: 600px;
  }

  .feature-with-image figure {
    grid-template-rows: minmax(0, 1fr) 7.4rem;
    height: 430px;
  }

  .roadmap {
    padding: 76px 10px 250px;
  }

  .roadmap-mobile-title {
    width: 100%;
    max-width: 820px;
    margin-bottom: 28px;
    font-size: clamp(2.05rem, 10vw, 3.1rem);
    text-align: left;
  }

  .roadmap-map-layout {
    padding: 14px 16px;
  }

  .roadmap-detail-panels::before {
    top: 14px;
    bottom: 14px;
  }

  .roadmap-detail {
    gap: 4px;
    padding: 12px 0 12px 28px;
  }

  .roadmap-detail::before {
    top: 18px;
  }

  .roadmap-detail h3 {
    font-size: clamp(1.25rem, 5.2vw, 1.55rem);
  }

  .roadmap-detail p {
    font-size: 0.78rem;
    line-height: 1.55;
  }

}

@media (max-width: 520px) {
  .pathos-transition {
    height: clamp(210px, 62vw, 300px);
    margin-top: 36px;
  }

  .pathos-wordmark {
    font-size: clamp(92px, 28vw, 126px);
  }

  .roadmap {
    padding: 72px 10px 235px;
  }

  .roadmap-map-layout {
    border-left: 0;
    border-right: 0;
  }

  .roadmap-detail-panels {
    min-height: 0;
  }

}

@media (max-width: 820px) {
  .roadmap-map-layout {
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(28px, 6vw, 52px);
    width: 100%;
    padding: 18px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .roadmap-map-layout::before {
    display: none;
  }

  .roadmap-map,
  .roadmap-detail-panels {
    position: relative;
    z-index: 1;
  }

  .roadmap-map {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 46px;
    width: 100%;
    aspect-ratio: auto;
    margin: 0;
    overflow: visible;
  }

  .roadmap-map::before,
  .roadmap-map::after {
    display: none;
  }

  .roadmap-map-image,
  .roadmap-route {
    display: none;
  }

  .roadmap-map-node {
    position: relative;
    left: auto;
    top: auto;
    display: grid;
    grid-template-columns: auto auto;
    justify-items: center;
    justify-content: start;
    gap: 14px;
    width: 100%;
    align-items: center;
    text-align: left;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .roadmap-map-node::before {
    content: "01";
    min-width: 2.1em;
    padding: 2px 4px;
    color: rgba(8, 8, 7, 0.72);
    font-family: "JetBrains Mono", Consolas, monospace;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-align: center;
  }

  .roadmap-map-node[data-roadmap-target="apollo"]::before {
    content: "02";
  }

  .roadmap-map-node[data-roadmap-target="atlas"]::before {
    content: "03";
  }

  .roadmap-map-node[data-roadmap-target="ares"]::before {
    content: "04";
  }

  .roadmap-map-node[data-roadmap-target="council"]::before {
    content: "05";
  }

  .roadmap-map-node.is-active::before {
    color: rgba(8, 8, 7, 0.72);
    box-shadow: none;
  }

  .roadmap-map-node:last-of-type {
    grid-column: auto;
    justify-self: start;
    width: 100%;
  }

  .map-dot {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(8, 8, 7, 0.28);
    z-index: 1;
    background:
      radial-gradient(circle at 50% 20%, rgba(217, 184, 90, 0.18), transparent 58%),
      linear-gradient(180deg, rgba(3, 4, 5, 0.08), rgba(3, 4, 5, 0.34)),
      var(--agent-face) center top / cover no-repeat,
      radial-gradient(circle at 50% 24%, rgba(217, 180, 95, 0.22), transparent 62%),
      #050608;
    box-shadow:
      0 0 0 10px #030405,
      0 0 0 11px rgba(217, 184, 90, 0.28),
      0 18px 34px rgba(8, 8, 7, 0.12);
    transition: none;
  }

  .map-dot::before {
    inset: -6px;
    border-color: rgba(215, 166, 66, 0.28);
  }

  .map-dot::after {
    display: none;
  }

  .roadmap-map-node[data-roadmap-target="midas"] .map-dot {
    --agent-face: url("assets/King_Midas.png");
  }

  .roadmap-map-node[data-roadmap-target="apollo"] .map-dot {
    --agent-face: url("assets/God_Apollo.png");
  }

  .roadmap-map-node[data-roadmap-target="atlas"] .map-dot {
    --agent-face: url("assets/Atlas_God.png");
  }

  .roadmap-map-node[data-roadmap-target="ares"] .map-dot {
    --agent-face: url("assets/Ares_God.png");
  }

  .roadmap-map-node[data-roadmap-target="council"] .map-dot {
    --agent-face: url("assets/Cadmus.png");
  }

  .roadmap-map-node.is-active .map-dot {
    border-color: var(--accent-strong);
    background:
      linear-gradient(180deg, rgba(244, 239, 226, 0.04), rgba(8, 8, 7, 0.08)),
      var(--agent-face) center top / cover no-repeat,
      radial-gradient(circle at 50% 24%, rgba(217, 180, 95, 0.24), transparent 62%),
      #050608;
    box-shadow:
      0 0 0 10px #030405,
      0 0 0 11px rgba(215, 166, 66, 0.42),
      0 18px 38px rgba(8, 8, 7, 0.16);
    transform: none;
  }

  .roadmap-map-node.is-active .map-dot::before {
    opacity: 1;
  }

  .map-label {
    display: none;
  }

  .roadmap-detail-panels {
    position: relative;
    display: block;
    width: min(100%, 460px);
    min-height: 0;
    margin: var(--active-roadmap-offset, 0px) 0 0;
    padding-left: 20px;
  }

  .roadmap-detail-panels::before,
  .roadmap-detail::before {
    display: none;
  }

  .roadmap-detail {
    position: relative;
    inset: auto;
    display: none;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 4px 18px;
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
  }

  .roadmap-detail.is-active {
    display: grid;
  }

  .roadmap-detail h3,
  .roadmap-detail .roadmap-role {
    color: var(--roadmap-text);
  }

  .roadmap-detail h3 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .roadmap-detail .roadmap-role {
    white-space: nowrap;
    overflow-wrap: normal;
  }

  .roadmap-detail p {
    color: var(--roadmap-muted);
  }

  .roadmap-detail > p:last-child {
    grid-column: 1 / -1;
  }

  .roadmap-status-label {
    grid-column: auto;
    justify-self: start;
    margin-left: 4px;
    text-align: left;
  }
}

@media (max-width: 586px) {
  .roadmap::before {
    background:
      url("assets/Vine.png") left -78px top 132px / auto 66% no-repeat,
      linear-gradient(180deg, var(--roadmap-bg) 0%, rgba(244, 239, 226, 0.72) 24%, rgba(244, 239, 226, 0.34) 58%, rgba(244, 239, 226, 0.72) 82%, var(--roadmap-bg) 100%),
      url("assets/Wall.png") center center / cover no-repeat;
    background-blend-mode: normal, screen, multiply;
  }

  .roadmap-map-layout {
    grid-template-columns: minmax(92px, 104px) minmax(0, 1fr);
    gap: 24px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .roadmap-map {
    gap: 28px;
    width: 100%;
    margin: 0;
  }

  .map-dot {
    width: 74px;
    height: 74px;
    box-shadow:
      0 0 0 7px #030405,
      0 0 0 8px rgba(217, 184, 90, 0.28),
      0 14px 26px rgba(8, 8, 7, 0.12);
  }

  .roadmap-map-node.is-active .map-dot {
    box-shadow:
      0 0 0 7px #030405,
      0 0 0 8px rgba(215, 166, 66, 0.42),
      0 14px 26px rgba(8, 8, 7, 0.16);
  }

  .roadmap-detail-panels {
    width: 100%;
    min-height: 0;
    margin: var(--active-roadmap-offset, 0px) 0 0;
    padding-left: 28px;
  }

  .roadmap-detail {
    gap: 4px 12px;
    min-height: auto;
  }

  .roadmap-detail h3 {
    font-size: clamp(1.15rem, 4.5vw, 1.45rem);
  }

  .roadmap-detail p {
    font-size: 0.7rem;
    line-height: 1.48;
  }

  .roadmap-map-node::before {
    font-size: 0.9rem;
  }
}

@media (max-width: 430px) {
  .roadmap-map-layout {
    grid-template-columns: minmax(84px, 96px) minmax(0, 1fr);
    gap: 22px;
    padding-left: 0;
    padding-right: 0;
  }

  .roadmap-map {
    gap: 24px;
    width: 100%;
  }

  .map-dot {
    width: 68px;
    height: 68px;
  }

  .roadmap-map-node.is-active .map-dot {
    box-shadow:
      0 0 0 7px #030405,
      0 0 0 8px rgba(215, 166, 66, 0.42),
      0 14px 26px rgba(8, 8, 7, 0.16);
  }

  .roadmap-map-node::before {
    font-size: 0.84rem;
    padding: 2px 3px;
  }

  .roadmap-detail-panels {
    padding-left: 20px;
  }

  .roadmap-detail h3 {
    font-size: clamp(1.05rem, 4.2vw, 1.25rem);
  }

  .roadmap-detail p {
    font-size: 0.66rem;
    line-height: 1.45;
  }
}

@media (max-width: 430px) {
  .pathos-wordmark,
  .roadmap-agent-wordmark {
    font-size: clamp(64px, 20vw, 86px);
  }

  .console-switcher {
    flex-wrap: nowrap;
    gap: 4px;
    padding: 12px 10px;
  }

  .console-switcher label {
    min-height: 30px;
    padding: 0 7px;
    font-size: 0.76rem;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .console-switcher {
    gap: 2px;
    padding: 10px 6px;
  }

  .console-switcher label {
    min-height: 28px;
    padding: 0 5px;
    font-size: 0.68rem;
  }
}
